mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02: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:
@@ -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)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user