mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
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:
committed by
Johan Dahlin
parent
d0b8813d14
commit
0a96da9284
@@ -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);
|
||||
|
Reference in New Issue
Block a user