Make introspection compile with -Wall -Werror

Address all gcc warnings, -Werror is not enabled yet but at least
-Wall -Werror passes on my machine.
This commit is contained in:
Johan Dahlin
2012-04-09 14:19:23 -03:00
committed by Johan Dahlin
parent d0b8813d14
commit 0a96da9284
14 changed files with 91 additions and 9 deletions

View File

@@ -172,7 +172,7 @@ g_value_from_ffi_value (GValue *gvalue,
g_value_set_string (gvalue, (gchar*)value->v_pointer);
break;
case G_TYPE_CHAR:
g_value_set_char (gvalue, (gchar)value->v_long);
g_value_set_schar (gvalue, (gchar)value->v_long);
break;
case G_TYPE_UCHAR:
g_value_set_uchar (gvalue, (guchar)value->v_ulong);