summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-26 20:38:52 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-26 20:38:52 +0000
commit8936007fcf59bdfe7db498565a458989062ecf8b (patch)
treefc624a1cddd831dbe53b4d166d71497f84459e5a /src/ralloc.c
parent135b4e261f6d819c53fb629e8480919193f19f9a (diff)
downloademacs-8936007fcf59bdfe7db498565a458989062ecf8b.tar.gz
(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)
/* This is the first address not currently available for the heap. */
POINTER top;
/* Amount of empty space below that. */
- SIZE already_available;
+ /* It is not correct to use SIZE here, because that is usually unsigned.
+ ptrdiff_t would be okay, but is not always available.
+ `long' will work in all cases, in practice. */
+ long already_available;
POINTER ptr;
if (! use_relocatable_buffers)