jpeg pushed a commit to branch master.

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

commit cd8fb35951b8c01b546876b7a5c6fb9af79a8f42
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Apr 6 15:16:37 2016 +0900

    els_box: Fix warning with clang
    
    warning: comparison of constant 100 with expression of type
             'Evas_Aspect_Control' is always true
             [-Wtautological-constant-out-of-range-compare]
---
 src/lib/elementary/els_box.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/els_box.c b/src/lib/elementary/els_box.c
index 1499c0b..b874c79 100644
--- a/src/lib/elementary/els_box.c
+++ b/src/lib/elementary/els_box.c
@@ -265,7 +265,7 @@ _smart_extents_calculate(Evas_Object *box, 
Evas_Object_Box_Data *priv, int w, in
                   aspect = EVAS_ASPECT_CONTROL_NONE;
                   ERR("Invalid aspect specified!");
                }
-             if (paspect < 100) //value starts overflowed as UINT_MAX
+             if ((unsigned) paspect < 100) //value starts overflowed as 
UINT_MAX
                {
                   /* this condition can cause some items to not be the same 
size,
                    * resulting in a non-homogeneous homogeneous layout

-- 


Reply via email to