xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=06258d3177d49990749ee59142cb669fd307dfc3

commit 06258d3177d49990749ee59142cb669fd307dfc3
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue May 12 09:21:17 2020 +0200

    exactness: resolve float compare warnings
    
    Summary: Depends on D11796
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D11797
---
 src/bin/exactness/player.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/exactness/player.c b/src/bin/exactness/player.c
index b35637f25c..44b3f36303 100644
--- a/src/bin/exactness/player.c
+++ b/src/bin/exactness/player.c
@@ -801,7 +801,7 @@ _src_open()
                   last_action_type = act->type;
                }
           }
-        if (_speed && _speed != 1)
+        if (EINA_DBL_NONZERO(_speed) && (!EINA_DBL_EQ(_speed, 1)))
           {
              EINA_LIST_FOREACH(_src_unit->actions, itr, act)
                 act->delay_ms /= _speed;

-- 


Reply via email to