summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-07-31 08:47:57 -0400
committerColin Walters <walters@verbum.org>2012-07-31 08:47:57 -0400
commita9e444c80e48b97d54ebc39c6af34107a136ea6e (patch)
tree3cbb08161ff92af8a9135f966b3030a0992a1579
parentd018236426c31cc8050ef4c02c65b66988d9a6ad (diff)
downloadgobject-introspection-a9e444c80e48b97d54ebc39c6af34107a136ea6e.tar.gz
gimarshallingtests: Squash compiler warning
-rw-r--r--tests/gimarshallingtests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 1820ff27..95c9b817 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