projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13261e2
)
Eina: warning--
author
Vincent Torri
<vincent.torri@gmail.com>
Mon, 14 Nov 2011 22:08:02 +0000
(22:08 +0000)
committer
Vincent 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
patch
|
blob
|
history
diff --git
a/legacy/eina/src/lib/eina_file.c
b/legacy/eina/src/lib/eina_file.c
index
2bab7c5
..
84b9e78
100644
(file)
--- a/
legacy/eina/src/lib/eina_file.c
+++ b/
legacy/eina/src/lib/eina_file.c
@@
-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;