X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/c86e5ff42db3495538c8b48cb7ea0943a13702b7..c9c9afbd2a24d9e7771636bd391de0c2c0271529:/hostdata.cpp?ds=sidebyside diff --git a/hostdata.cpp b/hostdata.cpp index 4d71054..787b7ab 100644 --- a/hostdata.cpp +++ b/hostdata.cpp @@ -36,7 +36,7 @@ void hostdata::create() e_xbt_log_priority_t logp = xbt_log_priority_verbose; if (!LOG_ISENABLED(logp)) return; - XBT_LOG(logp, "Got %lu hosts.", (unsigned long)hosts.size()); + XBT_LOG(logp, "Got %zu hosts.", hosts.size()); for (int i = 0; i < nhosts; i++) { XBT_LOG(logp, "Host #%d named \"%s\".", i, hosts[i].get_name()); }