forked from enlightenment/efl
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]
This commit is contained in:
parent
7c05a957cd
commit
cd8fb35951
|
@ -265,7 +265,7 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int w, in
|
||||||
aspect = EVAS_ASPECT_CONTROL_NONE;
|
aspect = EVAS_ASPECT_CONTROL_NONE;
|
||||||
ERR("Invalid aspect specified!");
|
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,
|
/* this condition can cause some items to not be the same size,
|
||||||
* resulting in a non-homogeneous homogeneous layout
|
* resulting in a non-homogeneous homogeneous layout
|
||||||
|
|
Loading…
Reference in New Issue