projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3828537
)
goom2k1: Fix compiler warnings on 64 bit mingw-w64
author
Raimo Järvi
<raimo.jarvi@gmail.com>
Tue, 27 Sep 2011 21:10:09 +0000
(
00:10
+0300)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 27 Sep 2011 23:18:15 +0000
(
00:18
+0100)
Fixes bug #660294.
gst/goom2k1/goom_core.c
patch
|
blob
|
history
diff --git
a/gst/goom2k1/goom_core.c
b/gst/goom2k1/goom_core.c
index
d66ffe2
..
ee893f4
100644
(file)
--- 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;