From 827c3aa14b3efd48c68e6ab565b29e6cfc0c0ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimo=20J=C3=A4rvi?= Date: Wed, 28 Sep 2011 00:10:09 +0300 Subject: [PATCH] goom2k1: Fix compiler warnings on 64 bit mingw-w64 Fixes bug #660294. --- gst/goom2k1/goom_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gst/goom2k1/goom_core.c b/gst/goom2k1/goom_core.c index d66ffe25de..ee893f4076 100644 --- a/gst/goom2k1/goom_core.c +++ b/gst/goom2k1/goom_core.c @@ -66,9 +66,8 @@ goom_set_resolution (GoomData * goomdata, guint32 resx, guint32 resy) goomdata->back = (guint32 *) malloc (buffsize * sizeof (guint32) + 128); goomdata->buffsize = buffsize; - goomdata->p1 = - (void *) (((unsigned long) goomdata->pixel + 0x7f) & (~0x7f)); - goomdata->p2 = (void *) (((unsigned long) goomdata->back + 0x7f) & (~0x7f)); + goomdata->p1 = (void *) (((guintptr) goomdata->pixel + 0x7f) & (~0x7f)); + goomdata->p2 = (void *) (((guintptr) goomdata->back + 0x7f) & (~0x7f)); } goomdata->resolx = resx;