# HG changeset patch # User Andreas Schwab # Date 1187482580 0 # Node ID 5d078cae937485a627540d6fa85d13278f14e3ca # Parent 27e9833dfb51cdf790433cbe73814e3dc908a40c (pure): Round PURESIZE up. diff -r 27e9833dfb51 -r 5d078cae9374 src/alloc.c --- 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 */