X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3d04e86369329fc50278341b47224953f0095a2a..1df107fd37fa0d90a495bc0d51dc2d957d4d0de0:/teshsuite/smpi/macro-partial-shared-communication/macro-partial-shared-communication.c diff --git a/teshsuite/smpi/macro-partial-shared-communication/macro-partial-shared-communication.c b/teshsuite/smpi/macro-partial-shared-communication/macro-partial-shared-communication.c index afed268325..019c38e3af 100644 --- a/teshsuite/smpi/macro-partial-shared-communication/macro-partial-shared-communication.c +++ b/teshsuite/smpi/macro-partial-shared-communication/macro-partial-shared-communication.c @@ -91,7 +91,7 @@ int main(int argc, char *argv[]) size_t start = shared_blocks[2*i+1]; size_t stop = shared_blocks[2*i+2]; int comm = check_all(buf, start, stop, rank-1); - printf("[%d] The result of the (normal) communication check for block (0x%lx, 0x%lx) is: %d\n", rank, start, stop, comm); + printf("[%d] The result of the (normal) communication check for block (0x%zx, 0x%zx) is: %d\n", rank, start, stop, comm); } memset(buf, rank, mem_size); } @@ -114,7 +114,7 @@ int main(int argc, char *argv[]) size_t start = shared_blocks[2*i+1]; size_t stop = shared_blocks[2*i+2]; int comm = check_all(buf, start, stop, rank-1); - printf("[%d] The result of the (shifted) communication check for block (0x%lx, 0x%lx) is: %d\n", rank, start, stop, comm); + printf("[%d] The result of the (shifted) communication check for block (0x%zx, 0x%zx) is: %d\n", rank, start, stop, comm); } }