From 4a0acab86088d6bf6fccd2a3f454a36298a3a4d5 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 15 Jan 2013 17:15:10 +0000 Subject: [PATCH] Evas box: fix warning with a cast. Unfortunately, although the pre-cast code is correct, we need the cast because of the way gcc handles the types (magic) when passing va_args on 64 bit. This doesn't change anything logically. SVN revision: 82827 --- src/lib/evas/canvas/evas_object_box.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_box.c b/src/lib/evas/canvas/evas_object_box.c index b27b144..1f1e2e9 100644 --- a/src/lib/evas/canvas/evas_object_box.c +++ b/src/lib/evas/canvas/evas_object_box.c @@ -2250,7 +2250,7 @@ EAPI Eina_Bool evas_object_box_option_property_vset(Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args) { Eina_Bool ret = EINA_FALSE; - eo_do(o, evas_obj_box_option_property_vset(opt, property, &args, &ret)); + eo_do(o, evas_obj_box_option_property_vset(opt, property, (va_list *) &args, &ret)); return ret; } @@ -2281,7 +2281,7 @@ EAPI Eina_Bool evas_object_box_option_property_vget(const Evas_Object *o, Evas_Object_Box_Option *opt, int property, va_list args) { Eina_Bool ret = EINA_FALSE; - eo_do((Eo *)o, evas_obj_box_option_property_vget(opt, property, &args, &ret)); + eo_do((Eo *)o, evas_obj_box_option_property_vget(opt, property, (va_list *) &args, &ret)); return ret; } -- 2.7.4