Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix build on 32 bit systems
authorAugustin Degomme <adegomme@users.noreply.github.com>
Fri, 1 Jun 2018 20:29:53 +0000 (22:29 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Fri, 1 Jun 2018 20:29:53 +0000 (22:29 +0200)
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
    */
-  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; });