A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add -Wextra to CFLAGS too.
[simgrid.git]
/
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
5f4e044
..
98192f2
100644
(file)
--- 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);
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);
data[i] = i;
MPI_Type_create_hindexed_block(BLK_COUNT, data_size, disp, MPI_BYTE, &file_type);