Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix error: overflow in implicit constant conversion on 32bits arch.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 9 Jul 2012 20:06:05 +0000 (22:06 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Mon, 9 Jul 2012 20:06:11 +0000 (22:06 +0200)
examples/smpi/replay.c

index 9c20e35..2a8b43a 100644 (file)
@@ -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;