Eina: warning--
authorcaro <caro>
Mon, 14 Nov 2011 22:08:02 +0000 (22:08 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 14 Nov 2011 22:08:02 +0000 (22:08 +0000)
patch by Fabien Romano from OpenBSD

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@65206 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_file.c

index 2bab7c5..84b9e78 100644 (file)
@@ -436,12 +436,12 @@ _eina_file_map_key_hash(const unsigned long int *key, int key_length __UNUSED__)
 }
 
 #ifndef MAP_POPULATE
-static int
+static unsigned int
 _eina_file_map_populate(char *map, unsigned int size, Eina_Bool hugetlb)
 {
-   int r = 0xDEADBEEF;
-   int i;
-   int s;
+   unsigned int r = 0xDEADBEEF;
+   unsigned int i;
+   unsigned int s;
 
    s = hugetlb ? EINA_HUGE_PAGE : EINA_SMALL_PAGE;