summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-20 10:23:12 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-20 10:25:51 -0500
commitf427050b61578b39867167077f8d54f69d337471 (patch)
tree89b70935917f4892a6d29fa2736c1816ac445f0d /src/lib/evas/common
parentb58057e2e7eae8565e7449216e2cff6b0774bf1f (diff)
evas: remove float comparison warnings for evas_convert_color
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_convert_color.c2
1 files changed, 1 insertions, 1 deletions
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,
138 float f; 138 float f;
139 139
140 v *= 255; 140 v *= 255;
141 if (s == 0) 141 if (EINA_FLT_CMP(s, 0.0))
142 { 142 {
143 if (r) *r = v; 143 if (r) *r = v;
144 if (g) *g = v; 144 if (g) *g = v;