[gobject-introspection] gimarshallingtests: Fix gi_marshalling_tests_init_function()



commit dccb9896f4e7031ca9461e2a41add42ff6d4c01c
Author: Colin Walters <walters verbum org>
Date:   Fri Jun 17 09:20:33 2011 -0400

    gimarshallingtests: Fix gi_marshalling_tests_init_function()
    
    Array binds more tightly than deref.

 tests/gimarshallingtests.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index b2ff715..af2734d 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;
 }
 



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