raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=58d3328d80aec2249b681e0d791e562a2b399c47

commit 58d3328d80aec2249b681e0d791e562a2b399c47
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue Sep 20 21:57:47 2016 +0900

    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.
---
 src/lib/eina/eina_file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 994905f..cb29f28 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)
 
 #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;

-- 


Reply via email to