A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bugfix: make mmalloc build in x64
[simgrid.git]
/
src
/
xbt
/
mmalloc
/
mmap-sup.c
diff --git
a/src/xbt/mmalloc/mmap-sup.c
b/src/xbt/mmalloc/mmap-sup.c
index
f32e0aa
..
e5cd973
100644
(file)
--- a/
src/xbt/mmalloc/mmap-sup.c
+++ b/
src/xbt/mmalloc/mmap-sup.c
@@
-194,7
+194,7
@@
mmalloc_findbase (int size)
to signal an error return, and besides, it is useful to
catch NULL pointers if it is unmapped. Instead start
at the next page boundary. */
- base = (void*) getpagesize ();
+ base = (void*)
(long)
getpagesize ();
}
else if (base == (void*) -1)
{