X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e42098ece35ef06fe7df355ee3f258d61eabbfdb..ec217a69082019eedf455254759a4d5ceffbbe70:/src/xbt/mmalloc/mmap-sup.c diff --git a/src/xbt/mmalloc/mmap-sup.c b/src/xbt/mmalloc/mmap-sup.c index f32e0aa1d9..e5cd973c27 100644 --- 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) {