X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/c86e5ff42db3495538c8b48cb7ea0943a13702b7..54b37498c22fb09b89b05b253b8ac57c1b109a24:/main.cpp diff --git a/main.cpp b/main.cpp index dcefafc..ee845d1 100644 --- a/main.cpp +++ b/main.cpp @@ -38,8 +38,8 @@ namespace { xbt_cond_t proc_cond; unsigned proc_counter; - struct statistics comps; - struct statistics loads; + statistics comps; + statistics loads; } @@ -172,8 +172,8 @@ int main(int argc, char* argv[]) if (!opt::auto_depl::nhosts) opt::auto_depl::nhosts = hostdata::size(); if (opt::auto_depl::nhosts > hostdata::size()) { - XBT_WARN("%u hosts is too much: limiting to %u", - opt::auto_depl::nhosts, (unsigned )hostdata::size()); + XBT_WARN("%u hosts is too much: limiting to %zu", + opt::auto_depl::nhosts, hostdata::size()); opt::auto_depl::nhosts = hostdata::size(); } if (!opt::auto_depl::load)