raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=70d0fcfc9085a588a6bfd81f7fb9259b7543a5a1
commit 70d0fcfc9085a588a6bfd81f7fb9259b7543a5a1 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Tue Aug 25 09:57:35 2020 +0100 elm image - zoomable - fix enum warnings with valid casts --- src/lib/elementary/efl_ui_image_zoomable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elementary/efl_ui_image_zoomable.c b/src/lib/elementary/efl_ui_image_zoomable.c index 9889d8849f..689555180a 100644 --- a/src/lib/elementary/efl_ui_image_zoomable.c +++ b/src/lib/elementary/efl_ui_image_zoomable.c @@ -2610,7 +2610,7 @@ _efl_ui_image_zoomable_efl_ui_zoom_zoom_mode_set(Eo *obj, Efl_Ui_Image_Zoomable_ { double tz; if (sd->mode == (Elm_Photocam_Zoom_Mode)mode) return; - sd->mode = mode; + sd->mode = (Elm_Photocam_Zoom_Mode)mode; tz = sd->zoom; sd->zoom = 0.0; @@ -2620,7 +2620,7 @@ _efl_ui_image_zoomable_efl_ui_zoom_zoom_mode_set(Eo *obj, Efl_Ui_Image_Zoomable_ EOLIAN static Efl_Ui_Zoom_Mode _efl_ui_image_zoomable_efl_ui_zoom_zoom_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { - return sd->mode; + return (Efl_Ui_Zoom_Mode)sd->mode; } EOLIAN static Eina_Size2D @@ -3395,13 +3395,13 @@ elm_photocam_zoom_get(const Evas_Object *obj) EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) { - efl_ui_zoom_mode_set(obj, mode); + efl_ui_zoom_mode_set(obj, (Efl_Ui_Zoom_Mode)mode); } EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) { - return efl_ui_zoom_mode_get(obj); + return (Elm_Photocam_Zoom_Mode)efl_ui_zoom_mode_get(obj); } EAPI Evas_Load_Error --