summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fold.c b/src/fold.c
index 9a3e53837..cc5424dee 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -149,7 +149,7 @@ fold_file (char *filename, size_t width)
while ((c = getc (istream)) != EOF)
{
if (offset_out + 1 >= allocated_out)
- line_out = x2nrealloc (line_out, &allocated_out, sizeof *line_out);
+ line_out = X2REALLOC (line_out, &allocated_out);
if (c == '\n')
{