(next_file_name): Use `sizeof *var' rather than

hard-coding `sizeof size_t'.
This commit is contained in:
Jim Meyering committed 2003-11-04 06:25:45 +00:00
1 parent 11e97f430c
commit 26809f0450
1 file changed
+1 -1
+1 -1
View File
@@ -153,7 +153,7 @@ next_file_name (void)
memcpy (outfile, outbase, outbase_length);
memset (outfile_mid, suffix_alphabet[0], suffix_length);
outfile[outfile_length] = 0;
sufindex = xcalloc (suffix_length, sizeof (size_t));
sufindex = xcalloc (suffix_length, sizeof *sufindex);
#if ! _POSIX_NO_TRUNC && HAVE_PATHCONF && defined _PC_NAME_MAX
/* POSIX requires that if the output file name is too long for