eina: get rid of float comparison warning from str test.

This commit is contained in:
Cedric BAIL 2016-12-19 16:27:22 -08:00
parent d03482a0a7
commit e24ad29142
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ START_TEST(str_memdup)
t2 = (struct temp *)eina_memdup((unsigned char *)&t1, sizeof(struct temp), EINA_TRUE);
fail_if(t2->i != t1.i);
fail_if(strcmp(t2->s,t1.s) != 0);
fail_if(t2->d != t1.d);
fail_if(!EINA_FLT_CMP(t2->d, t1.d));
free(t2);
memcpy(buf, "aaabbb", 6);