X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/df464204224dc254dd20bb0ad229031b0377ee34..6157f90cc9d3cce63b341338c15e91af8ccd6347:/examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp diff --git a/examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp b/examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp index 51843c1f62..602c222ab7 100644 --- a/examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp +++ b/examples/s4u/routing-get-clusters/s4u-routing-get-clusters.cpp @@ -40,7 +40,7 @@ int main(int argc, char* argv[]) XBT_INFO("%s' dragonfly topology:", d->get_cname()); for (int i = 0; i < d->getHostCount(); i++) { unsigned int coords[4]; - d->rankId_to_coords(i, &coords); + d->rankId_to_coords(i, coords); XBT_INFO(" %d: (%u, %u, %u, %u)", i, coords[0], coords[1], coords[2], coords[3]); } }