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:
d77f65d
)
gobject/gclosure.c: Add type cast for int_val = value
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 6 Oct 2011 07:37:52 +0000
(15:37 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Thu, 6 Oct 2011 07:37:52 +0000
(15:37 +0800)
This will silence compiler warnings on Visual C++.
(Sorry for the bad fix just now.)
gobject/gclosure.c
patch
|
blob
|
history
diff --git
a/gobject/gclosure.c
b/gobject/gclosure.c
index
6893484
..
07f0286
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 =
(ffi_arg *)
value;
switch (g_type_fundamental (G_VALUE_TYPE (gvalue)))
{