From 177f45374aa0d0ac51e3df971af01893355c6102 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 20 May 2022 07:45:28 +0000 Subject: [PATCH] fix for 32 bits --- teshsuite/s4u/comm-fault-scenarios/comm-fault-scenarios.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teshsuite/s4u/comm-fault-scenarios/comm-fault-scenarios.cpp b/teshsuite/s4u/comm-fault-scenarios/comm-fault-scenarios.cpp index 2e4251c4a0..cec1e2a33f 100644 --- a/teshsuite/s4u/comm-fault-scenarios/comm-fault-scenarios.cpp +++ b/teshsuite/s4u/comm-fault-scenarios/comm-fault-scenarios.cpp @@ -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 +} -- 2.20.1