From ef66449d839c99f272b02943ebf004c961d519c9 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Thu, 18 Aug 2005 16:42:49 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ check/gst/gstevents.c | 2 +- tests/check/gst/gstevents.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 548e2ce49c..ee99990d4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-18 Jan Schmidt + + * 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 Make sure that when a pipeline goes to PLAYING, that data has diff --git a/check/gst/gstevents.c b/check/gst/gstevents.c index c58bebf90b..d152a06a79 100644 --- a/check/gst/gstevents.c +++ b/check/gst/gstevents.c @@ -191,7 +191,7 @@ GTimeVal got_event_time; static gboolean 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)); diff --git a/tests/check/gst/gstevents.c b/tests/check/gst/gstevents.c index c58bebf90b..d152a06a79 100644 --- a/tests/check/gst/gstevents.c +++ b/tests/check/gst/gstevents.c @@ -191,7 +191,7 @@ GTimeVal got_event_time; static gboolean 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));