summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2007-08-19 00:17:53 +0000
committerAndreas Schwab <schwab@suse.de>2007-08-19 00:17:53 +0000
commit259d15166e113c2ee39769ae79a7f333e698d88a (patch)
tree21446dbdc068e97165970a2345024fdaf182e147 /src/alloc.c
parente8612bf263b21df67717e5767d4b982bd24addb0 (diff)
downloademacs-259d15166e113c2ee39769ae79a7f333e698d88a.tar.gz
(pure): Round PURESIZE up.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 948b87851a7..bcec8ea4560 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -266,7 +266,7 @@ Lisp_Object Vmemory_full;
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 */