X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/c86e5ff42db3495538c8b48cb7ea0943a13702b7..51909edd89ccd195ba335606743a650807123999:/main.cpp?ds=sidebyside 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)