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
This commit is contained in:
Tom Hacohen 2013-01-15 17:15:10 +00:00
parent c8e1fe4c9f
commit 4a0acab860
1 changed files with 2 additions and 2 deletions

View 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;
}