eina - eina file map populate fallback to use log int not int... for size

this makes the size match other sizes in eina_file. doesn't affect
linux but i think bsd's get hit.
This commit is contained in:
Carsten Haitzler 2016-09-20 21:57:47 +09:00
parent a6d3c0d0fd
commit 58d3328d80
1 changed files with 2 additions and 2 deletions

View File

@ -310,10 +310,10 @@ _eina_file_map_close(Eina_File_Map *map)
#ifndef MAP_POPULATE
static unsigned int
_eina_file_map_populate(char *map, unsigned int size, Eina_Bool hugetlb)
_eina_file_map_populate(char *map, unsigned long int size, Eina_Bool hugetlb)
{
unsigned int r = 0xDEADBEEF;
unsigned int i;
unsigned long int i;
unsigned int s;
if (size == 0) return 0;