Eina tests: fix warning about pointer signedness

This commit is contained in:
Jean-Philippe Andre 2015-04-20 15:15:10 +09:00
parent c2a9dd3a31
commit 7dbb61b0a1
1 changed files with 2 additions and 2 deletions

View File

@ -317,7 +317,7 @@ START_TEST(str_memdup)
double d;
} t1,*t2;
unsigned char buf[7];
char *temp_buf;
unsigned char *temp_buf;
eina_init();
@ -333,7 +333,7 @@ START_TEST(str_memdup)
memcpy(buf, "aaabbb", 6);
temp_buf = eina_memdup(buf, 6, EINA_TRUE);
fail_if(strcmp(temp_buf, "aaabbb") != 0);
fail_if(strcmp((char *) temp_buf, "aaabbb") != 0);
free(temp_buf);
eina_shutdown();