summaryrefslogtreecommitdiff
path: root/examples/glib-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/glib-print.c')
-rw-r--r--examples/glib-print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/glib-print.c b/examples/glib-print.c
index caa7cda8..595ae48b 100644
--- a/examples/glib-print.c
+++ b/examples/glib-print.c
@@ -24,11 +24,11 @@ main (void)
return 1;
}
- in_args[0].v_pointer = "domain";
- in_args[1].v_pointer = "glib-print.c";
+ in_args[0].v_pointer = (gpointer)"domain";
+ in_args[1].v_pointer = (gpointer)"glib-print.c";
in_args[2].v_int = 42;
- in_args[3].v_pointer = "main";
- in_args[4].v_pointer = "hello world";
+ in_args[3].v_pointer = (gpointer)"main";
+ in_args[4].v_pointer = (gpointer)"hello world";
if (!g_function_info_invoke ((GIFunctionInfo *) base_info,
(const GIArgument *) &in_args,