From 3104265881a96bcd80b29d05882fc432c17a0da6 Mon Sep 17 00:00:00 2001 From: Bruno Donassolo Date: Thu, 29 Apr 2021 19:23:32 +0200 Subject: [PATCH] Fix 32 bits now... --- src/surf/sg_platf.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/surf/sg_platf.cpp b/src/surf/sg_platf.cpp index 62b4c4dfd1..cf04a3b4cd 100644 --- a/src/surf/sg_platf.cpp +++ b/src/surf/sg_platf.cpp @@ -157,7 +157,7 @@ sg_platf_cluster_create_host(const simgrid::kernel::routing::ClusterCreationArgs { xbt_assert(static_cast(id) < cluster->radicals.size(), "Zone(%s): error when creating host number %d in the zone. Insufficient number of radicals available " - "(total = %lu). Check the 'radical' parameter in XML", + "(total = %zu). Check the 'radical' parameter in XML", cluster->id.c_str(), id, cluster->radicals.size()); std::string host_id = std::string(cluster->prefix) + std::to_string(cluster->radicals[id]) + cluster->suffix; @@ -177,7 +177,7 @@ sg_platf_cluster_create_loopback(const simgrid::kernel::routing::ClusterCreation xbt_assert(static_cast(id) < cluster->radicals.size(), "Zone(%s): error when creating loopback for host number %d in the zone. Insufficient number of radicals " "available " - "(total = %lu). Check the 'radical' parameter in XML", + "(total = %zu). Check the 'radical' parameter in XML", cluster->id.c_str(), id, cluster->radicals.size()); std::string link_id = std::string(cluster->id) + "_link_" + std::to_string(cluster->radicals[id]) + "_loopback"; @@ -198,7 +198,7 @@ static simgrid::s4u::Link* sg_platf_cluster_create_limiter(const simgrid::kernel xbt_assert(static_cast(id) < cluster->radicals.size(), "Zone(%s): error when creating limiter for host number %d in the zone. Insufficient number of radicals " "available " - "(total = %lu). Check the 'radical' parameter in XML", + "(total = %zu). Check the 'radical' parameter in XML", cluster->id.c_str(), id, cluster->radicals.size()); std::string link_id = std::string(cluster->id) + "_link_" + std::to_string(cluster->radicals[id]) + "_limiter"; -- 2.20.1