cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=0a05725cc15de02da064df9cf2ba3a11aeef583b
commit 0a05725cc15de02da064df9cf2ba3a11aeef583b Author: Cedric BAIL <ced...@osg.samsung.com> Date: Mon Dec 19 16:31:49 2016 -0800 ecore: remove floating point comparison warning from Ecore main loop code. --- src/lib/ecore/ecore_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index 68df4af..d676ae4 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c @@ -1694,7 +1694,7 @@ _ecore_main_select(double timeout) int max_fd, ret, err_no; t = NULL; - if ((!ECORE_FINITE(timeout)) || (timeout == 0.0)) /* finite() tests for NaN, too big, too small, and infinity. */ + if ((!ECORE_FINITE(timeout)) || (EINA_FLT_CMP(timeout, 0.0))) /* finite() tests for NaN, too big, too small, and infinity. */ { tv.tv_sec = 0; tv.tv_usec = 0; --