mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 04:02:09 +01:00
gobject/gclosure.c: Made up for missed pointer deref
The value parameter is a gpointer * (void **), but ffi_arg itself is not a pointer type, so make up for dereference here.
This commit is contained in:
parent
ed03047a5b
commit
d792a1ebe4
@ -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 = *value;
|
||||
|
||||
switch (g_type_fundamental (G_VALUE_TYPE (gvalue)))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user