changeset 3136:76c8b5e00948

(r_alloc_sbrk): Declare already_available as long, not SIZE.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 May 1993 20:38:52 +0000
parents c344fe6cca79
children 1e7d462c176f
files src/ralloc.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ralloc.c	Wed May 26 20:34:20 1993 +0000
+++ b/src/ralloc.c	Wed May 26 20:38:52 1993 +0000
@@ -351,7 +351,10 @@
   /* 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)