mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(paste_parallel): Use sizeof *var' rather than hard-coding sizeof FILE*'.
This commit is contained in:
1 parent
5e97cd934e
commit
85011d8cd5
1 file changed
+1
-1
+1
-1
@@ -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], "-"))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user