changeset 82459:9bb857c2b902

(pure): Round PURESIZE up.
author Andreas Schwab <schwab@suse.de>
date Sun, 19 Aug 2007 00:15:26 +0000
parents 0327a004a45d
children e88d9ce34d13
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:44:32 2007 +0000
+++ b/src/alloc.c	Sun Aug 19 00:15:26 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 */