X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/13f9ae4ca658a16c0b9d76fb918032f1c8b9841a..4c65241b5e2e229c2cd1aa8901c69816e705b318:/src/xbt/mmalloc/mmorecore.c diff --git a/src/xbt/mmalloc/mmorecore.c b/src/xbt/mmalloc/mmorecore.c index c5d3524a41..197341d9d4 100644 --- a/src/xbt/mmalloc/mmorecore.c +++ b/src/xbt/mmalloc/mmorecore.c @@ -3,7 +3,8 @@ Contributed by Fred Fish at Cygnus Support. fnf@cygnus.com */ -/* Copyright (c) 2010-2012. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2012. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -53,7 +54,7 @@ static size_t pagesize; It never returns NULL. Instead, it dies verbosely on errors. */ -void *mmorecore(struct mdesc *mdp, int size) +void *mmorecore(struct mdesc *mdp, ssize_t size) { ssize_t test = 0; void *result; // please keep it uninitialized to track issues