diff options
author | Colin Walters <walters@verbum.org> | 2011-06-17 09:20:33 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-06-17 09:20:33 -0400 |
commit | dccb9896f4e7031ca9461e2a41add42ff6d4c01c (patch) | |
tree | 13253e6f001f65e4fe9b95caf26562fd5a9626d9 /tests/gimarshallingtests.c | |
parent | bdde93522b64bc5b43ce5260ad634f55cb8b4c44 (diff) | |
download | gobject-introspection-dccb9896f4e7031ca9461e2a41add42ff6d4c01c.tar.gz |
gimarshallingtests: Fix gi_marshalling_tests_init_function()
Array binds more tightly than deref.
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r-- | tests/gimarshallingtests.c | 2 |
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; } |