Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5e48429a
Commit
5e48429a
authored
Dec 09, 2013
by
Jan Djärv
Browse files
* alloc.c (Fmemory_limit): Avoid compiler warning. Return 0 always.
parent
8212d9c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
src/ChangeLog
src/ChangeLog
+4
-0
src/alloc.c
src/alloc.c
+5
-0
No files found.
src/ChangeLog
View file @
5e48429a
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.
...
...
src/alloc.c
View file @
5e48429a
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment