From 3897189cdd9751ff760c39e3b93a52da6710d765 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 26 Feb 2018 15:26:27 +0900 Subject: [PATCH] ecore anim - use pointers to real things for epoll objects while really "fake" they are real pointers and thus shouldnt get complaints from tools about invalid ptrs... doesnt fix any bug though. --- src/lib/ecore/ecore_anim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c index 1796b67..2e2b1bd 100644 --- a/src/lib/ecore/ecore_anim.c +++ b/src/lib/ecore/ecore_anim.c @@ -181,8 +181,8 @@ _timer_tick_core(void *data EINA_UNUSED, Ecore_Thread *thread) pollfd = -1; } -#define INPUT_TIMER_CONTROL ((void *) ((unsigned long) 0x11)) -#define INPUT_TIMER_TIMERFD ((void *) ((unsigned long) 0x22)) +#define INPUT_TIMER_CONTROL (&(pollincoming[0])) +#define INPUT_TIMER_TIMERFD (&(pollincoming[1])) if (pollfd >= 0) { -- 2.7.4