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:
parent
e761030809
commit
26df3bb0b9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user