summaryrefslogtreecommitdiff
path: root/src/od.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/od.c')
-rw-r--r--src/od.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/od.c b/src/od.c
index 667beb8a5..79c2435ec 100644
--- a/src/od.c
+++ b/src/od.c
@@ -974,7 +974,7 @@ decode_format_string (const char *s)
const char *next;
if (n_specs_allocated <= n_specs)
- spec = x2nrealloc (spec, &n_specs_allocated, sizeof *spec);
+ spec = X2NREALLOC (spec, &n_specs_allocated);
if (! decode_one_format (s_orig, s, &next, &spec[n_specs]))
return false;