Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move all XBT_LOG_CONNECT into one place.
[simgrid.git] / src / instr / instr_smpi.c
index ea8d33be590137243fda6fe5e9d228c92316c95b..92914bed882ad8b9c29b0f59b512643a983043e8 100644 (file)
@@ -86,7 +86,7 @@ static char *TRACE_smpi_put_key(int src, int dst, char *key, int n)
   }
   //generate the key
   static unsigned long long counter = 0;
-  snprintf(key, n, "%d%d%lld", src, dst, counter++);
+  snprintf(key, n, "%d%d%llu", src, dst, counter++);
 
   //push it
   char *a = (char*)xbt_strdup(key);