From: Arnaud Giersch Date: Tue, 17 Apr 2018 05:30:40 +0000 (+0200) Subject: Fix misleading parameter declaration. X-Git-Tag: v3.20~418^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2e7116b7684cca9c62c28af3c461812951c7764c Fix misleading parameter declaration. --- diff --git a/src/kernel/routing/TorusZone.cpp b/src/kernel/routing/TorusZone.cpp index bc212e478f..72d0298bd9 100644 --- a/src/kernel/routing/TorusZone.cpp +++ b/src/kernel/routing/TorusZone.cpp @@ -15,7 +15,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_cluster_torus, surf_route_cluster, "Torus Routing part of surf"); -inline void rankId_to_coords(int rankId, std::vector dimensions, unsigned int coords[4]) +inline void rankId_to_coords(int rankId, std::vector dimensions, unsigned int* coords) { unsigned int dim_size_product = 1; unsigned int i = 0;