Evas box: fix warning with a cast.
authorTom Hacohen <tom@stosb.com>
Tue, 15 Jan 2013 17:15:10 +0000 (17:15 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 15 Jan 2013 17:15:10 +0000 (17:15 +0000)
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

index b27b144..1f1e2e9 100644 (file)
@@ -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;
 }