resolve compositor float-equal warnings

Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
This commit is contained in:
Mike Blumenkrantz 2017-01-06 12:56:22 -05:00
parent 5268ac6500
commit 85589ab2b8
1 changed files with 1 additions and 1 deletions

View File

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