From 1a6dc04fa1931ad507420efaa4b8b524b14faffb Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 19 Dec 2016 16:32:51 -0800 Subject: [PATCH] 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 -- 2.7.4