From 1d18a8491e55402c8c9842770d2d28879c18d705 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 9 Oct 2019 18:21:56 +0200 Subject: [PATCH] fix 32bits builds --- src/plugins/host_energy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/host_energy.cpp b/src/plugins/host_energy.cpp index de496199f1..50b4dad4b8 100644 --- a/src/plugins/host_energy.cpp +++ b/src/plugins/host_energy.cpp @@ -340,8 +340,8 @@ void HostEnergy::init_watts_range_list() boost::split(all_power_values, old_prop, boost::is_any_of(",")); xbt_assert(all_power_values.size() == (unsigned)host_->get_pstate_count(), - "Invalid XML file. Found %lu energetic profiles for %d pstates", - all_power_values.size(), host_->get_pstate_count()); + "Invalid XML file. Found %zu energetic profiles for %d pstates", all_power_values.size(), + host_->get_pstate_count()); // XBT_ATTRIB_DEPRECATED_v327: puting this macro name here so that we find it during the deprecation cleanups of v3.28 std::string msg = std::string("DEPRECATION WARNING: Property 'watt_per_state' will only work until v3.28.\n"); -- 2.20.1