1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

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

over-zealous compilers.
This commit is contained in:
Eli Zaretskii 2001-01-02 13:51:07 +00:00
parent e761030809
commit 26df3bb0b9

View File

@ -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;