X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/c86e5ff42db3495538c8b48cb7ea0943a13702b7..f21539e9a5f0ab1eb4e3daf9293b01bfd5b317a3:/deployment.cpp diff --git a/deployment.cpp b/deployment.cpp index 5659db6..fa9e731 100644 --- a/deployment.cpp +++ b/deployment.cpp @@ -138,9 +138,8 @@ void deployment_torus::generate() // here width == ceil(sqrt(size)) unsigned first_on_last_line = (size() - 1) - (size() - 1) % width; - XBT_DEBUG("torus size = %u ; width = %u ; height = %u ; foll = %u", - (unsigned )size(), width, - (unsigned )(size() / width + !!(size() % width)), + XBT_DEBUG("torus size = %zu ; width = %u ; height = %zu ; foll = %u", + size(), width, size() / width + !!(size() % width), first_on_last_line); for (unsigned i = 0; i < size(); i++) { unsigned next_line;