dataqueue: can't pass a GType through GINT_TO_POINTER
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 30 Jan 2013 13:06:44 +0000 (13:06 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 30 Jan 2013 13:06:44 +0000 (13:06 +0000)
commit3f8eff5c7ed35bb0259a7a2da79063f56ee2b862
tree5f057431e83acb927ae83e2fb55dce4dbb76b1d1
parent745821d5f1af00a693d4e5076f20cddd1b1da6a6
dataqueue: can't pass a GType through GINT_TO_POINTER

Use GSIZE_TO_POINTER instead. sizeof(GType) may be larger
than sizeof(gulong) and sizeof(int), so the casts may
chop off some bits from the GType value on some architectures.
libs/gst/base/gstdataqueue.c