aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorEli Zaretskii2024-06-28 20:58:05 +0300
committerEli Zaretskii2024-06-28 20:58:05 +0300
commit0d5e3dec46b8f403ecca37dc467b6aeca20e8d1d (patch)
tree4263e96f410f8be91b50baba8353c7bb82f8316f /src/alloc.c
parent7b26d97e2d57136d5aaddc47a03dfa300a4e0b98 (diff)
downloademacs-0d5e3dec46b8f403ecca37dc467b6aeca20e8d1d.tar.gz
emacs-0d5e3dec46b8f403ecca37dc467b6aeca20e8d1d.zip
Fix size of 'pure'
* src/puresize.h (pure_dim): New macro. * src/alloc.c (pure): Use it. * src/igc.c (root_create_pure): Fix 'end' using 'pure_dim'.
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 80701ae1b38..09b51ba2a08 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -394,7 +394,7 @@ static char *spare_memory[7];
394 space (pure), on some systems. We have not implemented the 394 space (pure), on some systems. We have not implemented the
395 remapping on more recent systems because this is less important 395 remapping on more recent systems because this is less important
396 nowadays than in the days of small memories and timesharing. */ 396 nowadays than in the days of small memories and timesharing. */
397EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,}; 397EMACS_INT pure[pure_dim] = {1,};
398 398
399#define PUREBEG (char *) pure 399#define PUREBEG (char *) pure
400 400