Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix 32bits builds
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 9 Oct 2019 16:21:56 +0000 (18:21 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 9 Oct 2019 16:21:56 +0000 (18:21 +0200)
src/plugins/host_energy.cpp

index de49619..50b4dad 100644 (file)
@@ -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");