summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-12-19 16:27:22 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-12-19 16:33:46 -0800
commite24ad2914205835223be8079b68fc1030d03723f (patch)
treedf6fbe411ac3cd38adaa909595bba3be08b8cc04 /src
parentd03482a0a7f582a3033338e45e6c3ec86f5e56ed (diff)
eina: get rid of float comparison warning from str test.
Diffstat (limited to 'src')
-rw-r--r--src/tests/eina/eina_test_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eina/eina_test_str.c b/src/tests/eina/eina_test_str.c
index 3ed8b1ec2a..0af97e29a9 100644
--- a/src/tests/eina/eina_test_str.c
+++ b/src/tests/eina/eina_test_str.c
@@ -336,7 +336,7 @@ START_TEST(str_memdup)
336 t2 = (struct temp *)eina_memdup((unsigned char *)&t1, sizeof(struct temp), EINA_TRUE); 336 t2 = (struct temp *)eina_memdup((unsigned char *)&t1, sizeof(struct temp), EINA_TRUE);
337 fail_if(t2->i != t1.i); 337 fail_if(t2->i != t1.i);
338 fail_if(strcmp(t2->s,t1.s) != 0); 338 fail_if(strcmp(t2->s,t1.s) != 0);
339 fail_if(t2->d != t1.d); 339 fail_if(!EINA_FLT_CMP(t2->d, t1.d));
340 free(t2); 340 free(t2);
341 341
342 memcpy(buf, "aaabbb", 6); 342 memcpy(buf, "aaabbb", 6);