projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed03047
)
gobject/gclosure.c: Made up for missed pointer deref
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 6 Oct 2011 07:24:08 +0000
(15:24 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 6 Oct 2011 07:24:08 +0000
(15:24 +0800)
The value parameter is a gpointer * (void **), but ffi_arg itself is not a
pointer type, so make up for dereference here.
gobject/gclosure.c
patch
|
blob
|
history
diff --git
a/gobject/gclosure.c
b/gobject/gclosure.c
index
6893484
..
e904ca4
100644
(file)
--- a/
gobject/gclosure.c
+++ b/
gobject/gclosure.c
@@
-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)))
{