raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e9adfbae00e1907d9c080e1cdd34644670ba537c

commit e9adfbae00e1907d9c080e1cdd34644670ba537c
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Aug 24 23:03:03 2020 +0100

    exactness - cast enum assign - it is valid due to values. warn fix
---
 src/bin/exactness/recorder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/exactness/recorder.c b/src/bin/exactness/recorder.c
index 59a5549131..6936521d7a 100644
--- a/src/bin/exactness/recorder.c
+++ b/src/bin/exactness/recorder.c
@@ -137,7 +137,7 @@ _event_pointer_cb(void *data, const Efl_Event *event)
              Eina_Position2D pos = efl_input_pointer_position_get(evp);
              Efl_Pointer_Flags flags = efl_input_pointer_button_flags_get(evp);
              Exactness_Action_Multi_Event t = { tool, b, pos.x, pos.y, rad, 
radx, rady, pres, ang,
-                  fx, fy, flags };
+                  fx, fy, (Evas_Button_Flags)flags };
              if (n_evas >= 0) _add_to_list(evt, n_evas, timestamp, &t, 
sizeof(t));
              break;
           }

-- 


Reply via email to