From: Carsten Haitzler (Rasterman) Date: Mon, 26 Feb 2018 06:26:27 +0000 (+0900) Subject: ecore anim - use pointers to real things for epoll objects X-Git-Tag: upstream/1.21.0~1840 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3897189cdd9751ff760c39e3b93a52da6710d765;p=platform%2Fupstream%2Fefl.git 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. --- 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) {