Commit 26df3bb0 authored by Eli Zaretskii's avatar Eli Zaretskii

(readline): Cast buffer to "long *" to pacify

over-zealous compilers.
parent e7610308
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment