aboutsummaryrefslogtreecommitdiffstats
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-26 20:38:52 +0000
committerRichard M. Stallman1993-05-26 20:38:52 +0000
commit89ccd65a2415c2d718a8ca72b0f89e991fe0627d (patch)
treeaf56130dfce99f59b7dae57e7c7733cfa6154679 /src/ralloc.c
parentf7f794916dabcc80f77a37380bb04c8aba9c8614 (diff)
downloademacs-89ccd65a2415c2d718a8ca72b0f89e991fe0627d.tar.gz
emacs-89ccd65a2415c2d718a8ca72b0f89e991fe0627d.zip
(r_alloc_sbrk): Declare already_available as long, not SIZE.
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index a8ab0754268..b33e329753d 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -351,7 +351,10 @@ r_alloc_sbrk (size)
351 /* This is the first address not currently available for the heap. */ 351 /* This is the first address not currently available for the heap. */
352 POINTER top; 352 POINTER top;
353 /* Amount of empty space below that. */ 353 /* Amount of empty space below that. */
354 SIZE already_available; 354 /* It is not correct to use SIZE here, because that is usually unsigned.
355 ptrdiff_t would be okay, but is not always available.
356 `long' will work in all cases, in practice. */
357 long already_available;
355 POINTER ptr; 358 POINTER ptr;
356 359
357 if (! use_relocatable_buffers) 360 if (! use_relocatable_buffers)