X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/90c9c01d50178a8a5398193f5dc16753f568e403..3c6276aa01e97101adf7ff78cab24c44ad2d48fc:/teshsuite/smpi/mpich3-test/io/hindexed_io.c diff --git a/teshsuite/smpi/mpich3-test/io/hindexed_io.c b/teshsuite/smpi/mpich3-test/io/hindexed_io.c index 5f4e0446fc..98192f26a3 100644 --- a/teshsuite/smpi/mpich3-test/io/hindexed_io.c +++ b/teshsuite/smpi/mpich3-test/io/hindexed_io.c @@ -46,7 +46,7 @@ int main(int argc, char **argv) data = malloc(data_size); verify = malloc(data_size * BLK_COUNT + HEADER + PAD); - for (i = 0; i < data_size / sizeof(int); i++) + for (i = 0; i < (int)(data_size / sizeof(int)); i++) data[i] = i; MPI_Type_create_hindexed_block(BLK_COUNT, data_size, disp, MPI_BYTE, &file_type);