summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-09-20 21:57:47 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-09-20 21:57:47 +0900
commit58d3328d80aec2249b681e0d791e562a2b399c47 (patch)
tree9d1180e46fc9a7cf27b9ca38cd2053577457836d /src
parenta6d3c0d0fdd422b377004d45f5f246c5da572fa9 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/eina/eina_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 994905f52a..cb29f287f5 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -310,10 +310,10 @@ _eina_file_map_close(Eina_File_Map *map)
310 310
311#ifndef MAP_POPULATE 311#ifndef MAP_POPULATE
312static unsigned int 312static unsigned int
313_eina_file_map_populate(char *map, unsigned int size, Eina_Bool hugetlb) 313_eina_file_map_populate(char *map, unsigned long int size, Eina_Bool hugetlb)
314{ 314{
315 unsigned int r = 0xDEADBEEF; 315 unsigned int r = 0xDEADBEEF;
316 unsigned int i; 316 unsigned long int i;
317 unsigned int s; 317 unsigned int s;
318 318
319 if (size == 0) return 0; 319 if (size == 0) return 0;