* ralloc.c (relinquish): Use a long for excess space counter to

handle 64-bit case correctly.
This commit is contained in:
Chong Yidong 2006-10-29 21:54:18 +00:00
parent afa0f40bdb
commit 8d31e37330
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-10-29 Mark Davies <mark@mcs.vuw.ac.nz> (tiny change)
* ralloc.c (relinquish): Use a long for excess space counter to
handle 64-bit case correctly.
2006-10-29 Jeramey Crawford <jeramey@jeramey.com>
* m/amdx86-64.h: Add defines for OpenBSD x86-64.

View file

@ -330,7 +330,7 @@ static void
relinquish ()
{
register heap_ptr h;
int excess = 0;
long excess = 0;
/* Add the amount of space beyond break_value
in all heaps which have extend beyond break_value at all. */