summaryrefslogtreecommitdiffstats
path: root/test/use_append_mchunks.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-02-09 16:44:38 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-02-09 16:44:38 (GMT)
commitd875f7f3e65754f5618246cec47a75690a58e80c (patch)
treecfbebf28c49b5187f4adbefeb2ef8d9be3ed7ca4 /test/use_append_mchunks.c
parent0399f55c54f862a15054712d1f976b9bfc7acec9 (diff)
downloadhdf5-d875f7f3e65754f5618246cec47a75690a58e80c.zip
hdf5-d875f7f3e65754f5618246cec47a75690a58e80c.tar.gz
hdf5-d875f7f3e65754f5618246cec47a75690a58e80c.tar.bz2
Minor warning fixes.
Diffstat (limited to 'test/use_append_mchunks.c')
-rw-r--r--test/use_append_mchunks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/use_append_mchunks.c b/test/use_append_mchunks.c
index 7728225..f9ce41b 100644
--- a/test/use_append_mchunks.c
+++ b/test/use_append_mchunks.c
@@ -84,17 +84,17 @@ int setup_parameters(int argc, char * const argv[])
return(-1);
}
/* set chunk dims */
- UC_opts.chunkdims[0] = UC_opts.chunkplanes;
- UC_opts.chunkdims[1]=UC_opts.chunkdims[2]=UC_opts.chunksize;
+ UC_opts.chunkdims[0] = (hsize_t)UC_opts.chunkplanes;
+ UC_opts.chunkdims[1] = UC_opts.chunkdims[2] = (hsize_t)UC_opts.chunksize;
/* set dataset initial and max dims */
UC_opts.dims[0] = 0;
UC_opts.max_dims[0] = H5S_UNLIMITED;
- UC_opts.dims[1] = UC_opts.dims[2] = UC_opts.max_dims[1]=UC_opts.max_dims[2]=2*UC_opts.chunksize;
+ UC_opts.dims[1] = UC_opts.dims[2] = UC_opts.max_dims[1] = UC_opts.max_dims[2] = 2 * (hsize_t)UC_opts.chunksize;
/* set nplanes */
if (UC_opts.nplanes == 0)
- UC_opts.nplanes = 2*UC_opts.chunksize;
+ UC_opts.nplanes = 2 * (hsize_t)UC_opts.chunksize;
/* show parameters and return */
show_parameters();