diff options
author | Jim Meyering <jim@meyering.net> | 2003-11-06 09:54:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-11-06 09:54:28 +0000 |
commit | 85011d8cd572bf9bcbfd877aa6f05e0361d21942 (patch) | |
tree | 4b201fc2b9db1a244b92571346da853037425895 /src/paste.c | |
parent | 5e97cd934e11e2722ae331ba49c9100b79e42016 (diff) | |
download | coreutils-85011d8cd572bf9bcbfd877aa6f05e0361d21942.tar.gz coreutils-85011d8cd572bf9bcbfd877aa6f05e0361d21942.tar.bz2 coreutils-85011d8cd572bf9bcbfd877aa6f05e0361d21942.zip |
(paste_parallel): Use `sizeof *var' rather than hard-coding `sizeof FILE*'.
Diffstat (limited to 'src/paste.c')
-rw-r--r-- | src/paste.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/paste.c b/src/paste.c index 9753d83f5..c83ace9fd 100644 --- a/src/paste.c +++ b/src/paste.c @@ -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], "-")) { |