summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_gradient.c
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-20 10:59:55 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-20 10:59:55 -0500
commit8ce2d991500300d466ff3572fcd60400083880d4 (patch)
treed3466d863b1771aeaf39691e36f504747c2bebe5 /src/lib/ector/software/ector_software_gradient.c
parent7507efc2600bd65c0d61e0a072cf2fa25b6e4ae8 (diff)
ector: remove float comparison warnings
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ector/software/ector_software_gradient.c')
-rw-r--r--src/lib/ector/software/ector_software_gradient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ector/software/ector_software_gradient.c b/src/lib/ector/software/ector_software_gradient.c
index ea1b4a2295..5f63fca277 100644
--- a/src/lib/ector/software/ector_software_gradient.c
+++ b/src/lib/ector/software/ector_software_gradient.c
@@ -386,7 +386,7 @@ fetch_linear_gradient(uint32_t *buffer, Span_Data *data, int y, int x, int lengt
386 uint32_t *end; 386 uint32_t *end;
387 int t_fixed, inc_fixed; 387 int t_fixed, inc_fixed;
388 388
389 if (g_data->linear.l == 0) 389 if (EINA_DBL_CMP(g_data->linear.l, 0.0))
390 { 390 {
391 t = inc = 0; 391 t = inc = 0;
392 } 392 }