From f427050b61578b39867167077f8d54f69d337471 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 20 Dec 2016 10:23:12 -0500 Subject: [PATCH] evas: remove float comparison warnings for evas_convert_color Signed-off-by: Chris Michael --- src/lib/evas/common/evas_convert_color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/common/evas_convert_color.c b/src/lib/evas/common/evas_convert_color.c index 87057e4f33..421f425221 100644 --- a/src/lib/evas/common/evas_convert_color.c +++ b/src/lib/evas/common/evas_convert_color.c @@ -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;