ecore anim - use pointers to real things for epoll objects
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 26 Feb 2018 06:26:27 +0000 (15:26 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:38 +0000 (20:10 +0900)
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

index 1796b67..2e2b1bd 100644 (file)
@@ -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)
      {