aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_macros.h')
-rw-r--r--src/bin/e_macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_macros.h b/src/bin/e_macros.h
index 1e890432e..1bd4390f5 100644
--- a/src/bin/e_macros.h
+++ b/src/bin/e_macros.h
@@ -95,7 +95,7 @@
do \
{ \
Ecore_Event_Handler *_eh; \
- _eh = ecore_event_handler_add(type, (Ecore_Event_Handler_Cb)callback, data); \
+ _eh = ecore_event_handler_add(type, (void *)callback, data); \
assert(_eh); \
list = eina_list_append(list, _eh); \
} \
@@ -104,7 +104,7 @@
do \
{ \
Ecore_Event_Handler *_eh; \
- _eh = ecore_event_handler_prepend(type, (Ecore_Event_Handler_Cb)callback, data); \
+ _eh = ecore_event_handler_prepend(type, (void *)callback, data); \
assert(_eh); \
list = eina_list_append(list, _eh); \
} \