(fillbuf): Use x2realloc on 1-byte base types, not x2nrealloc.

This commit is contained in:
Jim Meyering committed 2005-06-28 16:33:20 +00:00
1 parent dec00b5930
commit cdedc0925c
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}