cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1a6dc04fa1931ad507420efaa4b8b524b14faffb

commit 1a6dc04fa1931ad507420efaa4b8b524b14faffb
Author: Cedric BAIL <[email protected]>
Date:   Mon Dec 19 16:32:51 2016 -0800

    ecore: remove float comparison warning from Ecore_Poller code.
---
 src/lib/ecore/ecore_poller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore/ecore_poller.c b/src/lib/ecore/ecore_poller.c
index 7e476e6..0129500 100644
--- a/src/lib/ecore/ecore_poller.c
+++ b/src/lib/ecore/ecore_poller.c
@@ -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

-- 


Reply via email to