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());
}