summaryrefslogtreecommitdiffstats
path: root/test/gen_deflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_deflate.c')
-rw-r--r--test/gen_deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gen_deflate.c b/test/gen_deflate.c
index 16de92e..2d0b746 100644
--- a/test/gen_deflate.c
+++ b/test/gen_deflate.c
@@ -66,7 +66,7 @@ main(void)
/* (Try for something easily compressible) */
for(i=0; i<SPACE_DIM1; i++)
for(j=0; j<SPACE_DIM2; j++)
- data[i][j]=j%5;
+ data[i][j] = (int)(j % 5);
/* Create the file */
file = H5Fcreate(TESTFILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);