From: Darren S. <ds...@us...> - 2006-06-08 01:29:00
|
Update of /cvsroot/xine/xine-lib/src/post/goom In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30817/src/post/goom Modified Files: goomsl_heap.c Log Message: 64-bit casting int<->pointer fixes. Index: goomsl_heap.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/post/goom/goomsl_heap.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- goomsl_heap.c 19 Jul 2005 18:10:30 -0000 1.1 +++ goomsl_heap.c 7 Jun 2006 22:52:29 -0000 1.2 @@ -39,7 +39,7 @@ { 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; |