summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2006-10-29 21:54:18 +0000
committerChong Yidong <cyd@stupidchicken.com>2006-10-29 21:54:18 +0000
commit8d31e3733083a6018045af9d7961d0bff21be6e6 (patch)
treead5d06e66d9b12f47106a02d9cdbd595329946a0 /src/ralloc.c
parentafa0f40bdb27d7fe9d32bf4eb76fd3c60cbe5017 (diff)
downloademacs-8d31e3733083a6018045af9d7961d0bff21be6e6.tar.gz
* ralloc.c (relinquish): Use a long for excess space counter to
handle 64-bit case correctly.
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c2
1 files changed, 1 insertions, 1 deletions
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. */