check/gst/gstevents.c: Should fix build on 64-bit arch's
authorJan Schmidt <thaytan@mad.scientist.com>
Thu, 18 Aug 2005 16:42:49 +0000 (16:42 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Thu, 18 Aug 2005 16:42:49 +0000 (16:42 +0000)
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
check/gst/gstevents.c
tests/check/gst/gstevents.c

index 548e2ce..ee99990 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        Make sure that when a pipeline goes to PLAYING, that data has
index c58bebf..d152a06 100644 (file)
@@ -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));
 
index c58bebf..d152a06 100644 (file)
@@ -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));