warning remove - ignoring const (returning obj handle)

cast to fix
This commit is contained in:
Carsten Haitzler 2018-01-06 18:58:13 +09:00
parent f62e051343
commit f8c9b0d71e
2 changed files with 2 additions and 2 deletions

View File

@ -7066,7 +7066,7 @@ _efl_ui_win_efl_object_provider_find(const Eo *obj,
const Efl_Object *klass)
{
if (klass == EFL_UI_WIN_CLASS)
return obj;
return (Eo *)obj;
if (klass == EFL_UI_FOCUS_PARENT_PROVIDER_INTERFACE)
return pd->provider;

View File

@ -834,7 +834,7 @@ _evas_canvas_efl_object_provider_find(const Eo *eo_e,
const Efl_Class *klass)
{
if (klass == EVAS_CANVAS_CLASS)
return eo_e;
return (Eo *)eo_e;
else if (klass == EFL_LOOP_CLASS)
return efl_main_loop_get();
else if (klass == EFL_GESTURE_MANAGER_CLASS)