(main): Use sizeof *var' rather than sizeof EXPLICIT_TYPE'.

The former is more maintainable and usually shorter.
This commit is contained in:
Jim Meyering committed 2003-11-04 06:13:55 +00:00
1 parent d63bdf9a4d
commit 45240f2481
1 file changed
+1 -1
+1 -1
View File
@@ -1667,7 +1667,7 @@ main (int argc, char **argv)
n_specs = 0;
n_specs_allocated = 5;
spec = xmalloc (n_specs_allocated * sizeof (struct tspec));
spec = xmalloc (n_specs_allocated * sizeof *spec);
format_address = format_address_std;
address_base = 8;