projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdde935
)
gimarshallingtests: Fix gi_marshalling_tests_init_function()
author
Colin Walters
<walters@verbum.org>
Fri, 17 Jun 2011 13:20:33 +0000
(09:20 -0400)
committer
Colin Walters
<walters@verbum.org>
Fri, 17 Jun 2011 13:20:33 +0000
(09:20 -0400)
Array binds more tightly than deref.
tests/gimarshallingtests.c
patch
|
blob
|
history
diff --git
a/tests/gimarshallingtests.c
b/tests/gimarshallingtests.c
index b2ff715560635535f9712cb7c71c9f08289ecd05..af2734dfee5d2f356a461bbff40130e725d3b0db 100644
(file)
--- 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;
}