changeset 34951:1efc40541908

(readline): Cast buffer to "long *" to pacify over-zealous compilers.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 02 Jan 2001 13:51:07 +0000
parents 95f07a5e1ee6
children a3e7758ab661
files lib-src/fakemail.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/fakemail.c	Tue Jan 02 13:35:10 2001 +0000
+++ b/lib-src/fakemail.c	Tue Jan 02 13:51:07 2001 +0000
@@ -224,7 +224,7 @@
       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;