evas: remove float comparison warnings for evas_convert_color

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2016-12-20 10:23:12 -05:00
parent b58057e2e7
commit f427050b61
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ evas_common_convert_color_hsv_to_rgb(float h, float s, float v, int *r, int *g,
float f;
v *= 255;
if (s == 0)
if (EINA_FLT_CMP(s, 0.0))
{
if (r) *r = v;
if (g) *g = v;