summaryrefslogtreecommitdiff
path: root/src/expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expand.c')
-rw-r--r--src/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand.c b/src/expand.c
index cf360c913..863aec933 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -140,7 +140,7 @@ static void
add_tab_stop (uintmax_t tabval)
{
if (first_free_tab == n_tabs_allocated)
- tab_list = x2nrealloc (tab_list, &n_tabs_allocated, sizeof *tab_list);
+ tab_list = X2NREALLOC (tab_list, &n_tabs_allocated);
tab_list[first_free_tab++] = tabval;
}