X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3efa482f86d7828379214dedabbcd76c145103d5..d2d42db295dae074e51a8fceb90d71057e75b866:/teshsuite/s4u/evaluate-get-route-time/evaluate-get-route-time.cpp diff --git a/teshsuite/s4u/evaluate-get-route-time/evaluate-get-route-time.cpp b/teshsuite/s4u/evaluate-get-route-time/evaluate-get-route-time.cpp index a607ed6953..0367a741c4 100644 --- a/teshsuite/s4u/evaluate-get-route-time/evaluate-get-route-time.cpp +++ b/teshsuite/s4u/evaluate-get-route-time/evaluate-get-route-time.cpp @@ -24,7 +24,7 @@ int main(int argc, char** argv) e.load_platform(argv[1]); std::vector hosts = e.get_all_hosts(); - int host_count = e.get_host_count(); + int host_count = static_cast(e.get_host_count()); /* Random number initialization */ simgrid::xbt::random::set_mersenne_seed(static_cast(xbt_os_time()));