From: Tom Hacohen Date: Tue, 15 Jan 2013 17:15:10 +0000 (+0000) Subject: Evas box: fix warning with a cast. X-Git-Tag: submit/devel/efl/20131022.203902~2244 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a0acab86088d6bf6fccd2a3f454a36298a3a4d5;p=platform%2Fupstream%2Fefl.git 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 --- 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; }