ecore: remove float comparison warning from Ecore_Poller code.
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 20 Dec 2016 00:32:51 +0000 (16:32 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 20 Dec 2016 00:33:46 +0000 (16:33 -0800)
src/lib/ecore/ecore_poller.c

index 7e476e6..0129500 100644 (file)
@@ -99,7 +99,7 @@ _ecore_poller_next_tick_eval(void)
         else
           {
              t = ecore_time_get();
-             if (interval != poll_cur_interval)
+             if (!EINA_FLT_CMP(interval, poll_cur_interval))
                {
                   t -= last_tick; /* time since we last ticked */
      /* delete the timer and reset it to tick off in the new