From e80d8f0c2304ca471e6643dec846153307eee0fa Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 6 Oct 2011 15:37:52 +0800 Subject: [PATCH] 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.) --- gobject/gclosure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gclosure.c b/gobject/gclosure.c index 6893484..07f0286 100644 --- 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))) { -- 2.7.4