ecore: remove floating point comparison warning from Ecore main loop code.

This commit is contained in:
Cedric BAIL 2016-12-19 16:31:49 -08:00
parent 172c07d5cd
commit 0a05725cc1
1 changed files with 1 additions and 1 deletions

View File

@ -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;