summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-06 18:58:13 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-06 19:01:05 +0900
commitf8c9b0d71e0ad604e3203ef01cec2756429f57c4 (patch)
tree8a355a9b47ecb809c830baec9802ff3fd094c78c
parentf62e0513435de1115e454fa4e8ad61c906b2c5e5 (diff)
warning remove - ignoring const (returning obj handle)
cast to fix
-rw-r--r--src/lib/elementary/efl_ui_win.c2
-rw-r--r--src/lib/evas/canvas/evas_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 0d7781dad4..710285a559 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -7066,7 +7066,7 @@ _efl_ui_win_efl_object_provider_find(const Eo *obj,
7066 const Efl_Object *klass) 7066 const Efl_Object *klass)
7067{ 7067{
7068 if (klass == EFL_UI_WIN_CLASS) 7068 if (klass == EFL_UI_WIN_CLASS)
7069 return obj; 7069 return (Eo *)obj;
7070 7070
7071 if (klass == EFL_UI_FOCUS_PARENT_PROVIDER_INTERFACE) 7071 if (klass == EFL_UI_FOCUS_PARENT_PROVIDER_INTERFACE)
7072 return pd->provider; 7072 return pd->provider;
diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c
index 9089f30037..7498916611 100644
--- a/src/lib/evas/canvas/evas_main.c
+++ b/src/lib/evas/canvas/evas_main.c
@@ -834,7 +834,7 @@ _evas_canvas_efl_object_provider_find(const Eo *eo_e,
834 const Efl_Class *klass) 834 const Efl_Class *klass)
835{ 835{
836 if (klass == EVAS_CANVAS_CLASS) 836 if (klass == EVAS_CANVAS_CLASS)
837 return eo_e; 837 return (Eo *)eo_e;
838 else if (klass == EFL_LOOP_CLASS) 838 else if (klass == EFL_LOOP_CLASS)
839 return efl_main_loop_get(); 839 return efl_main_loop_get();
840 else if (klass == EFL_GESTURE_MANAGER_CLASS) 840 else if (klass == EFL_GESTURE_MANAGER_CLASS)