From cdedc0925ca605ebafdd541fc4403b5b77e92740 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 28 Jun 2005 16:33:20 +0000 Subject: (fillbuf): Use x2realloc on 1-byte base types, not x2nrealloc. --- src/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sort.c b/src/sort.c index 2b583d21c..5820de093 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1059,7 +1059,7 @@ fillbuf (struct buffer *buf, FILE *fp, char const *file) /* The current input line is too long to fit in the buffer. Double the buffer size and try again. */ - buf->buf = x2nrealloc (buf->buf, &buf->alloc, sizeof *(buf->buf)); + buf->buf = x2realloc (buf->buf, &buf->alloc); } } -- cgit v1.2.3-70-g09d2