Commit 965d34eb authored by Paul Eggert's avatar Paul Eggert

* buffer.c (init_buffer): Don't assume string length fits in 'int'.

parent f14ed477
2011-06-19 Paul Eggert <eggert@cs.ucla.edu>
* buffer.c (init_buffer): Don't assume string length fits in 'int'.
* lread.c (invalid_syntax): Omit length argument.
All uses changed. This doesn't fix a bug, but it simplifies the
code away from its former Hollerith-constant appearance, and it's
......
......@@ -5083,7 +5083,7 @@ init_buffer (void)
{
char *pwd;
Lisp_Object temp;
int len;
ptrdiff_t len;
#ifdef USE_MMAP_FOR_BUFFERS
{
......
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