diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-01-12 01:49:54 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-01-12 01:51:43 +0000 |
commit | 70b7d56ea50a45274c01801c85731a7d88b28cbb (patch) | |
tree | a93fd985d657dd9d87c6781e1c902fe0fcf23acc | |
parent | 35f4b44d00f62711e93f741d031043971a588949 (diff) | |
download | enlightenment-70b7d56ea50a45274c01801c85731a7d88b28cbb.tar.gz |
fix casts to use void ptr to avoid warning that isnt important
-rw-r--r-- | src/bin/e_macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_macros.h b/src/bin/e_macros.h index 1e890432eb..1bd4390f5e 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); \ } \ |