From: Arnaud Giersch Date: Mon, 9 Jul 2012 20:06:05 +0000 (+0200) Subject: Fix error: overflow in implicit constant conversion on 32bits arch. X-Git-Tag: v3_8~302 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bc8c8556d93efff98862820b31e306da2e932a7c Fix error: overflow in implicit constant conversion on 32bits arch. --- diff --git a/examples/smpi/replay.c b/examples/smpi/replay.c index 9c20e357c6..2a8b43acc6 100644 --- a/examples/smpi/replay.c +++ b/examples/smpi/replay.c @@ -61,7 +61,7 @@ static void action_recv(const char *const *action) { int from = atoi(action[2]); XBT_DEBUG("receive from rank%d (%s)",from, action[2]); - char *buffer = (char*) malloc (1e10); + char *buffer = (char*) malloc (1e9); MPI_Status status;