gobject/gclosure.c: Add type cast for int_val = value

This will silence compiler warnings on Visual C++.

(Sorry for the bad fix just now.)
This commit is contained in:
Chun-wei Fan 2011-10-06 15:37:52 +08:00
parent d77f65d24d
commit e80d8f0c23

View File

@ -1032,7 +1032,7 @@ value_to_ffi_type (const GValue *gvalue,
static void
value_from_ffi_type (GValue *gvalue, gpointer *value)
{
ffi_arg *int_val = value;
ffi_arg *int_val = (ffi_arg *)value;
switch (g_type_fundamental (G_VALUE_TYPE (gvalue)))
{