From: Eli Zaretskii Date: Tue, 2 Jan 2001 13:51:07 +0000 (+0000) Subject: (readline): Cast buffer to "long *" to pacify X-Git-Tag: emacs-pretest-21.0.95~210 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=26df3bb0b927c4645be36f3de39fe9258c20f61d;p=emacs.git (readline): Cast buffer to "long *" to pacify over-zealous compilers. --- 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;