forked from enlightenment/efl
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:
parent
d08d26f19f
commit
3230c8de9f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue