check/gst/gstevents.c: Should fix build on 64-bit arch's

Original commit message from CVS:

* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
(test_event), (timediff), (gstevents_suite):
Should fix build on 64-bit arch's
This commit is contained in:
Jan Schmidt 2005-08-18 16:42:49 +00:00
parent aa0fb69d49
commit ef66449d83
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
(test_event), (timediff), (gstevents_suite):
Should fix build on 64-bit arch's
2005-08-18 Andy Wingo <wingo@pobox.com> 2005-08-18 Andy Wingo <wingo@pobox.com>
Make sure that when a pipeline goes to PLAYING, that data has Make sure that when a pipeline goes to PLAYING, that data has

View file

@ -191,7 +191,7 @@ GTimeVal got_event_time;
static gboolean static gboolean
event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data) event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data)
{ {
gboolean before_q = (gboolean) user_data; gboolean before_q = (gboolean) GPOINTER_TO_INT (user_data);
fail_unless (GST_IS_EVENT (data)); fail_unless (GST_IS_EVENT (data));

View file

@ -191,7 +191,7 @@ GTimeVal got_event_time;
static gboolean static gboolean
event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data) event_probe (GstPad * pad, GstMiniObject ** data, gpointer user_data)
{ {
gboolean before_q = (gboolean) user_data; gboolean before_q = (gboolean) GPOINTER_TO_INT (user_data);
fail_unless (GST_IS_EVENT (data)); fail_unless (GST_IS_EVENT (data));