# HG changeset patch # User Richard M. Stallman # Date 738448732 0 # Node ID 76c8b5e00948444b01d9d8f76597a361126427fb # Parent c344fe6cca798d581e25519e8802d0c6f40a5388 (r_alloc_sbrk): Declare already_available as long, not SIZE. diff -r c344fe6cca79 -r 76c8b5e00948 src/ralloc.c --- 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)