Commit 827c3aa1 authored by Raimo Järvi's avatar Raimo Järvi Committed by Tim-Philipp Müller

goom2k1: Fix compiler warnings on 64 bit mingw-w64

Fixes bug #660294.
parent 38285378
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment