From 5a8691305f7ca04777b57261a941897f2b933337 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Wed, 7 Jun 2006 22:52:29 +0000 Subject: 64-bit casting int<->pointer fixes. CVS patchset: 8018 CVS date: 2006/06/07 22:52:29 --- src/post/goom/goomsl_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/post/goom/goomsl_heap.c') diff --git a/src/post/goom/goomsl_heap.c b/src/post/goom/goomsl_heap.c index 73943bf95..6ec91a46c 100644 --- a/src/post/goom/goomsl_heap.c +++ b/src/post/goom/goomsl_heap.c @@ -39,7 +39,7 @@ static void align_it(GoomHeap *_this, int alignment) { if ((alignment > 1) && (_this->number_of_arrays>0)) { void *last_array = _this->arrays[_this->number_of_arrays - 1]; - int last_address = (int)last_array + _this->consumed_in_last_array; + long last_address = (long)last_array + _this->consumed_in_last_array; int decal = (last_address % alignment); if (decal != 0) { _this->consumed_in_last_array += alignment - decal; -- cgit v1.2.3