(paste_parallel): Use sizeof *var' rather than hard-coding sizeof FILE*'.

This commit is contained in:
Jim Meyering committed 2003-11-06 09:54:28 +00:00
1 parent 5e97cd934e
commit 85011d8cd5
1 file changed
+1 -1
+1 -1
View File
@@ -183,7 +183,7 @@ paste_parallel (int nfiles, char **fnamptr)
{
file_list_size += 12;
delbuf = xrealloc (delbuf, file_list_size + 2);
fileptr = xrealloc (fileptr, (file_list_size + 1) * sizeof (FILE *));
fileptr = xrealloc (fileptr, (file_list_size + 1) * sizeof *fileptr);
}
if (STREQ (fnamptr[files_open], "-"))
{