tests: eina: fix usage of long on Windows

On Windows 64bits, long is a 4 bytes type. Declare i as being a uintptr_t instead of unsigned long

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11837
This commit is contained in:
Vincent Torri 2020-05-15 03:49:17 +00:00 committed by Stefan Schmidt
parent d08d26f19f
commit 3230c8de9f
1 changed files with 9 additions and 9 deletions

View File

@ -177,7 +177,7 @@ EFL_END_TEST
EFL_START_TEST(eina_array_find_test)
{
Eina_Array sea;
unsigned long i;
uintptr_t i;
unsigned int out = 0;
fail_if(eina_array_find(NULL, (void *)1, NULL) != EINA_FALSE);