aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-12 01:44:53 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-12 01:51:43 +0000
commit63d36aa44a210341691ea9df7d97b2afb7ae9e83 (patch)
tree63bcc5ab6a476002df86b1b9279fe9f0af9f7015
parentfix casts to use void ptr to avoid warning that isnt important (diff)
downloadenlightenment-63d36aa44a210341691ea9df7d97b2afb7ae9e83.tar.gz
fix casts to use void ptr to avoid warning that isnt important
-rw-r--r--src/modules/tiling/e_mod_tiling.c6
1 files 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);