changeset 73539:db045c86d29b

* ralloc.c (relinquish): Use a long for excess space counter to handle 64-bit case correctly.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 29 Oct 2006 21:54:18 +0000
parents e56d78e992d3
children e6d2c7dae5c8
files src/ChangeLog src/ralloc.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <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.
--- 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.  */