Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix build on 32 bit systems
[simgrid.git] / examples / s4u / engine-filtering / s4u-engine-filtering.cpp
index 935f110..76065d8 100644 (file)
@@ -43,7 +43,7 @@ int main(int argc, char* argv[])
   /**
    * Use a lambda function to filter hosts: We only want multicore hosts
    */
   /**
    * Use a lambda function to filter hosts: We only want multicore hosts
    */
-  XBT_INFO("Hosts currently registered with this engine: %lu", e.get_host_count());
+  XBT_INFO("Hosts currently registered with this engine: %zu", e.get_host_count());
   std::vector<simgrid::s4u::Host*> list =
       e.get_filtered_hosts([](simgrid::s4u::Host* host) { return host->get_core_count() > 1; });
 
   std::vector<simgrid::s4u::Host*> list =
       e.get_filtered_hosts([](simgrid::s4u::Host* host) { return host->get_core_count() > 1; });