X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fc3419efe4d92bfa202543376995977c6a3171e9..1d473a7bee4823d6f5c5d9a3cfbee5b51014d671:/teshsuite/smpi/mpich-test/pt2pt/typelb.c diff --git a/teshsuite/smpi/mpich-test/pt2pt/typelb.c b/teshsuite/smpi/mpich-test/pt2pt/typelb.c index 1da6964e6f..edcb2bb149 100644 --- a/teshsuite/smpi/mpich-test/pt2pt/typelb.c +++ b/teshsuite/smpi/mpich-test/pt2pt/typelb.c @@ -26,13 +26,14 @@ main( int argc, char **argv) /* Check that the results are correct */ #ifdef DEBUG - printf("lb=%ld, ub=%ld, extent=%ld\n", lb, ub, extent); + printf("lb=%ld, ub=%ld, extent=%ld\n", + (long)lb, (long)ub, (long)extent); printf("Should be lb=4, ub=5, extent=1\n"); #endif if (lb != 4 || ub != 5 || extent != 1) { - printf ("lb = %ld (should be 4), ub = %ld (should be 5) extent = %ld should be 1\n", lb, ub, extent) ; - } - else { + printf("lb = %ld (should be 4), ub = %ld (should be 5) extent = %ld should be 1\n", + (long)lb, (long)ub, (long)extent) ; + } else { printf( " No Errors\n" ); }