summaryrefslogtreecommitdiff
path: root/lib-src/fakemail.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-01-02 13:51:07 +0000
committerEli Zaretskii <eliz@gnu.org>2001-01-02 13:51:07 +0000
commit26df3bb0b927c4645be36f3de39fe9258c20f61d (patch)
tree764a3a7a0b26a629e61c91263ddea4eddfeffdfa /lib-src/fakemail.c
parente7610308091a85105a86285fccdb599a1d216e6e (diff)
downloademacs-26df3bb0b927c4645be36f3de39fe9258c20f61d.tar.gz
(readline): Cast buffer to "long *" to pacify
over-zealous compilers.
Diffstat (limited to 'lib-src/fakemail.c')
-rw-r--r--lib-src/fakemail.c2
1 files changed, 1 insertions, 1 deletions
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;