summaryrefslogtreecommitdiffstats
path: root/gst/goom/goomsl_heap.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/goom/goomsl_heap.c')
-rw-r--r--gst/goom/goomsl_heap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/goom/goomsl_heap.c b/gst/goom/goomsl_heap.c
index 4cbab5cc..e418a2af 100644
--- a/gst/goom/goomsl_heap.c
+++ b/gst/goom/goomsl_heap.c
@@ -46,8 +46,8 @@ 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;
- int decal = (last_address % alignment);
+ long last_address = (long) last_array + _this->consumed_in_last_array;
+ long decal = (last_address % alignment);
if (decal != 0) {
_this->consumed_in_last_array += alignment - decal;