diff --git a/src/ChangeLog b/src/ChangeLog index 2aba406af37..27a229b0f68 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-10-29 Mark Davies (tiny change) + + * ralloc.c (relinquish): Use a long for excess space counter to + handle 64-bit case correctly. + 2006-10-29 Jeramey Crawford * m/amdx86-64.h: Add defines for OpenBSD x86-64. diff --git a/src/ralloc.c b/src/ralloc.c index fea9ea5d0a8..83a26dd35d6 100644 --- a/src/ralloc.c +++ b/src/ralloc.c @@ -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. */