summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/od.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/od.c b/src/od.c
index 257ea43b3..7e03611f5 100644
--- a/src/od.c
+++ b/src/od.c
@@ -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;