forked from enlightenment/efl
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:
parent
a6d3c0d0fd
commit
58d3328d80
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue