mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
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:
parent
d77f65d24d
commit
e80d8f0c23
@ -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)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user