summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-06-17 09:20:33 -0400
committerColin Walters <walters@verbum.org>2011-06-17 09:20:33 -0400
commitdccb9896f4e7031ca9461e2a41add42ff6d4c01c (patch)
tree13253e6f001f65e4fe9b95caf26562fd5a9626d9
parentbdde93522b64bc5b43ce5260ad634f55cb8b4c44 (diff)
downloadgobject-introspection-dccb9896f4e7031ca9461e2a41add42ff6d4c01c.tar.gz
gimarshallingtests: Fix gi_marshalling_tests_init_function()
Array binds more tightly than deref.
-rw-r--r--tests/gimarshallingtests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index b2ff7155..af2734df 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -1116,7 +1116,7 @@ gi_marshalling_tests_init_function (gint *n_args, char ***argv)
return TRUE;
(*n_args)--;
g_assert (argv != NULL);
- *argv[*n_args] = NULL;
+ (*argv)[*n_args] = NULL;
return TRUE;
}