Mercurial > emacs
changeset 78593:5d078cae9374
(pure): Round PURESIZE up.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Sun, 19 Aug 2007 00:16:20 +0000 |
parents | 27e9833dfb51 |
children | 925f8722282a |
files | src/alloc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alloc.c Sat Aug 18 23:45:58 2007 +0000 +++ b/src/alloc.c Sun Aug 19 00:16:20 2007 +0000 @@ -266,7 +266,7 @@ remapping on more recent systems because this is less important nowadays than in the days of small memories and timesharing. */ -EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,}; +EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,}; #define PUREBEG (char *) pure #else /* HAVE_SHM */