# HG changeset patch # User Chong Yidong # Date 1162158858 0 # Node ID db045c86d29bc55112a089bd12ee0584c7b60590 # Parent e56d78e992d3f2766e5b577c09c8a3ed2edfc392 * ralloc.c (relinquish): Use a long for excess space counter to handle 64-bit case correctly. diff -r e56d78e992d3 -r db045c86d29b src/ChangeLog --- a/src/ChangeLog Sun Oct 29 21:49:24 2006 +0000 +++ b/src/ChangeLog Sun Oct 29 21:54:18 2006 +0000 @@ -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 -r e56d78e992d3 -r db045c86d29b src/ralloc.c --- a/src/ralloc.c Sun Oct 29 21:49:24 2006 +0000 +++ b/src/ralloc.c Sun Oct 29 21:54:18 2006 +0000 @@ -330,7 +330,7 @@ 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. */