From 26df3bb0b927c4645be36f3de39fe9258c20f61d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 2 Jan 2001 13:51:07 +0000 Subject: [PATCH] (readline): Cast buffer to "long *" to pacify over-zealous compilers. --- lib-src/fakemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c index e011d352ffd..588496a8ed4 100644 --- a/lib-src/fakemail.c +++ b/lib-src/fakemail.c @@ -224,7 +224,7 @@ readline (linebuffer, stream) if (p == end) { linebuffer->size *= 2; - buffer = ((char *) xrealloc (buffer, linebuffer->size)); + buffer = ((char *) xrealloc ((long *)buffer, linebuffer->size)); p = buffer + (p - linebuffer->buffer); end = buffer + linebuffer->size; linebuffer->buffer = buffer; -- 2.39.2