playbin2: Fix compiler warnings on 64 bit mingw-w64

Fixes bug #660301.
This commit is contained in:
Raimo Järvi 2011-09-28 01:11:30 +03:00 committed by Tim-Philipp Müller
parent 01d27ee084
commit c0956342b2

View file

@ -2607,7 +2607,7 @@ pad_added_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group)
G_CALLBACK (notify_tags_cb), ntdata, (GClosureNotify) g_free,
(GConnectFlags) 0);
g_object_set_data (G_OBJECT (sinkpad), "playbin2.notify_tags_handler",
(gpointer) notify_tags_handler);
(gpointer) (guintptr) notify_tags_handler);
/* store the pad in the array */
GST_DEBUG_OBJECT (playbin, "pad %p added to array", sinkpad);
@ -2709,7 +2709,7 @@ pad_removed_cb (GstElement * decodebin, GstPad * pad, GstSourceGroup * group)
gulong notify_tags_handler;
notify_tags_handler =
(gulong) g_object_get_data (G_OBJECT (peer),
(guintptr) g_object_get_data (G_OBJECT (peer),
"playbin2.notify_tags_handler");
if (notify_tags_handler != 0)
g_signal_handler_disconnect (G_OBJECT (peer), notify_tags_handler);