From e9adfbae00e1907d9c080e1cdd34644670ba537c Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 24 Aug 2020 23:03:03 +0100 Subject: [PATCH] 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; }