diff options
author | Jim Meyering <jim@meyering.net> | 2003-11-04 06:13:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-11-04 06:13:55 +0000 |
commit | 45240f24819678065e0dab9e34a18ca53fa99a7b (patch) | |
tree | 78c338a6f308c2e3f3e9557e6672162d874805c7 | |
parent | d63bdf9a4d66e18abec04d6455efabb3c54e44a2 (diff) | |
download | coreutils-45240f24819678065e0dab9e34a18ca53fa99a7b.tar.xz |
(main): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
-rw-r--r-- | src/od.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |