gimarshallingtests: Fix gi_marshalling_tests_init_function()
authorColin Walters <walters@verbum.org>
Fri, 17 Jun 2011 13:20:33 +0000 (09:20 -0400)
committerColin Walters <walters@verbum.org>
Fri, 17 Jun 2011 13:20:33 +0000 (09:20 -0400)
Array binds more tightly than deref.

tests/gimarshallingtests.c

index b2ff715560635535f9712cb7c71c9f08289ecd05..af2734dfee5d2f356a461bbff40130e725d3b0db 100644 (file)
@@ -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;
 }