discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=85589ab2b8aa717f1f14f786115d2f900988b6fc

commit 85589ab2b8aa717f1f14f786115d2f900988b6fc
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jan 6 12:56:22 2017 -0500

    resolve compositor float-equal warnings
    
    Reviewed-by: Derek Foreman <[email protected]>
---
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index b443065..aac3cfc 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -2060,7 +2060,7 @@ _e_comp_object_shade_animator(void *data)
    evas_object_resize(cw->smart_obj, w, h);
 
    /* we're done */
-   if (val == 1)
+   if (EINA_DBL_CMP(val, 1))
      {
         cw->shade.anim = NULL;
 

-- 


Reply via email to