diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-07 22:52:29 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2006-06-07 22:52:29 +0000 |
commit | 5a8691305f7ca04777b57261a941897f2b933337 (patch) | |
tree | 852194f84799e1e78bdf42b85cb29e796740fbb8 /src/post/goom/goomsl_heap.c | |
parent | c8e73df59226e14263d5279e4c65bae92edc3f20 (diff) | |
download | xine-lib-5a8691305f7ca04777b57261a941897f2b933337.tar.gz xine-lib-5a8691305f7ca04777b57261a941897f2b933337.tar.bz2 |
64-bit casting int<->pointer fixes.
CVS patchset: 8018
CVS date: 2006/06/07 22:52:29
Diffstat (limited to 'src/post/goom/goomsl_heap.c')
-rw-r--r-- | src/post/goom/goomsl_heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |