e_win: fix build-error at the case of -fpermissive option. 14/249514/4
authorSooChan Lim <sc1.lim@samsung.com>
Mon, 14 Dec 2020 07:20:28 +0000 (16:20 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 15 Dec 2020 00:27:23 +0000 (00:27 +0000)
Change-Id: If44b53f55e9901ca80f50bc49310c383277f038e

src/bin/e_win.h

index 1c57a20363f2ee13dfe348f964002a3b2dd214f1..38b70fc8525ba7bf168ae8120b0a9406773efa03 100644 (file)
@@ -21,19 +21,19 @@ E_API void e_win_no_reopen_set(Evas_Object *win, Eina_Bool no_reopen);
 static inline Evas_Object *
 e_win_evas_object_win_get(Evas_Object *obj)
 {
-   return ecore_evas_data_get(e_win_ee_get(obj), "elm_win");
+   return (Evas_Object *)ecore_evas_data_get((const Ecore_Evas *)e_win_ee_get(obj), "elm_win");
 }
 
 static inline Evas_Object *
 e_win_evas_win_get(Evas *e)
 {
-   return ecore_evas_data_get(ecore_evas_ecore_evas_get(e), "elm_win");
+   return (Evas_Object *)ecore_evas_data_get((const Ecore_Evas *)ecore_evas_ecore_evas_get(e), "elm_win");
 }
 
 static inline Eina_Bool
 e_obj_is_win(const void *obj)
 {
-   const char *type = evas_object_type_get(obj);
+   const char *type = evas_object_type_get((const Evas_Object *)obj);
    return type && !strcmp(type, "elm_win");
 }