Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
freaking paranoid flags!
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 7 Jul 2016 09:45:53 +0000 (11:45 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 7 Jul 2016 09:45:53 +0000 (11:45 +0200)
src/simdag/sd_global.cpp

index d6237ef..9c07800 100644 (file)
@@ -231,7 +231,7 @@ xbt_dynar_t SD_simulate(double how_long) {
   }
 
   if (!sd_global->watch_point_reached && how_long<0 && !sd_global->initial_tasks->empty()) {
   }
 
   if (!sd_global->watch_point_reached && how_long<0 && !sd_global->initial_tasks->empty()) {
-    XBT_WARN("Simulation is finished but %lu tasks are still not done",
+    XBT_WARN("Simulation is finished but %zu tasks are still not done",
              sd_global->initial_tasks->size());
     static const char* state_names[] =
       { "SD_NOT_SCHEDULED", "SD_SCHEDULABLE", "SD_SCHEDULED", "SD_RUNNABLE", "SD_RUNNING", "SD_DONE","SD_FAILED" };
              sd_global->initial_tasks->size());
     static const char* state_names[] =
       { "SD_NOT_SCHEDULED", "SD_SCHEDULABLE", "SD_SCHEDULED", "SD_RUNNABLE", "SD_RUNNING", "SD_DONE","SD_FAILED" };