Commit 5e48429a authored by Jan Djärv's avatar Jan Djärv
Browse files

* alloc.c (Fmemory_limit): Avoid compiler warning. Return 0 always.

parent 8212d9c0
2013-12-09 Jan Djärv <jan.h.d@swipnet.se>
* alloc.c (Fmemory_limit): Avoid compiler warning. Return 0 always.
2013-12-08 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating.
......
......@@ -6633,7 +6633,12 @@ We divide the value by 1024 to make sure it fits in a Lisp integer. */)
{
Lisp_Object end;
#ifdef HAVE_NS
/* Avoid warning. sbrk has no relation to memory allocated anyway. */
XSETINT (end, 0);
#else
XSETINT (end, (intptr_t) (char *) sbrk (0) / 1024);
#endif
return end;
}
......
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