[gobject-introspection] gimarshallingtests: Squash compiler warning



commit a9e444c80e48b97d54ebc39c6af34107a136ea6e
Author: Colin Walters <walters verbum org>
Date:   Tue Jul 31 08:47:57 2012 -0400

    gimarshallingtests: Squash compiler warning

 tests/gimarshallingtests.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 1820ff2..95c9b81 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -3855,8 +3855,8 @@ gi_marshalling_tests_object_vfunc_with_callback (GIMarshallingTestsObject *objec
 static int
 _callback (int val, void *user_data)
 {
-    g_assert((int)user_data == (int)0xdeadbeef);
-    return val;
+  g_assert (user_data == (gpointer)0xdeadbeef);
+  return val;
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]