Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix for 32 bits
authorAugustin Degomme <adegomme@gmail.com>
Fri, 20 May 2022 07:45:28 +0000 (07:45 +0000)
committerAugustin Degomme <adegomme@gmail.com>
Fri, 20 May 2022 07:45:28 +0000 (07:45 +0000)
teshsuite/s4u/comm-fault-scenarios/comm-fault-scenarios.cpp

index 2e4251c..cec1e2a 100644 (file)
@@ -216,7 +216,7 @@ public:
   void operator()()
   {
     run_++;
-    XBT_DEBUG("Host %i starts run %i and scenario %lu.", id_, run_, scenario_);
+    XBT_DEBUG("Host %i starts run %i and scenario %zu.", id_, run_, scenario_);
     while (scenario_ < ctx_.scenarios.size()) {
       const Scenario& s = ctx_.scenarios[scenario_];
       scenario_++;
@@ -346,7 +346,7 @@ public:
   void operator()()
   {
     run_++;
-    XBT_DEBUG("Host %i starts run %i and scenario %lu.", id_, run_, scenario_);
+    XBT_DEBUG("Host %i starts run %i and scenario %zu.", id_, run_, scenario_);
     mbox_eager->set_receiver(sg4::Actor::self());
     while (scenario_ < ctx_.scenarios.size()) {
       const Scenario& s = ctx_.scenarios[scenario_];
@@ -707,4 +707,4 @@ double build_scenarios(ScenarioContext& ctx)
 
   XBT_INFO("Will execute %i active scenarios out of %i.", ctx.active, ctx.index);
   return ctx.start_time + 1;
-}
\ No newline at end of file
+}