From: Chong Yidong Date: Sun, 29 Oct 2006 21:54:18 +0000 (+0000) Subject: * ralloc.c (relinquish): Use a long for excess space counter to X-Git-Tag: emacs-pretest-22.0.91~470 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d31e3733083a6018045af9d7961d0bff21be6e6;p=emacs.git * ralloc.c (relinquish): Use a long for excess space counter to handle 64-bit case correctly. --- 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. */