Eina: warning--
authorVincent Torri <vincent.torri@gmail.com>
Mon, 14 Nov 2011 22:08:02 +0000 (22:08 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Mon, 14 Nov 2011 22:08:02 +0000 (22:08 +0000)
patch by Fabien Romano from OpenBSD

SVN revision: 65206

legacy/eina/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;