From 63d36aa44a210341691ea9df7d97b2afb7ae9e83 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sat, 12 Jan 2019 01:44:53 +0000 Subject: [PATCH] fix casts to use void ptr to avoid warning that isnt important --- src/modules/tiling/e_mod_tiling.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index b4ce09e0f..7473665bc 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -1834,10 +1834,8 @@ e_modapi_init(E_Module *m) _G.info_hash = eina_hash_pointer_new(_clear_info_hash); _G.client_extras = eina_hash_pointer_new(_clear_border_extras); _G.desk_type = eina_hash_pointer_new(_clear_desk_types); -#define HANDLER(_h, _e, _f) \ - _h = ecore_event_handler_add(E_EVENT_##_e, \ - (Ecore_Event_Handler_Cb)_f, \ - NULL); +#define HANDLER(_h, _e, _f) \ + _h = ecore_event_handler_add(E_EVENT_##_e, (void *)_f, NULL) _G.handler_client_resize_begin = e_client_hook_add(E_CLIENT_HOOK_RESIZE_BEGIN, _resize_begin_hook, NULL);