diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-02-09 16:44:38 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-02-09 16:44:38 (GMT) |
commit | d875f7f3e65754f5618246cec47a75690a58e80c (patch) | |
tree | cfbebf28c49b5187f4adbefeb2ef8d9be3ed7ca4 /test/use_append_chunk.c | |
parent | 0399f55c54f862a15054712d1f976b9bfc7acec9 (diff) | |
download | hdf5-d875f7f3e65754f5618246cec47a75690a58e80c.zip hdf5-d875f7f3e65754f5618246cec47a75690a58e80c.tar.gz hdf5-d875f7f3e65754f5618246cec47a75690a58e80c.tar.bz2 |
Minor warning fixes.
Diffstat (limited to 'test/use_append_chunk.c')
-rw-r--r-- | test/use_append_chunk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/use_append_chunk.c b/test/use_append_chunk.c index 1dd76c9..9e50e8b 100644 --- a/test/use_append_chunk.c +++ b/test/use_append_chunk.c @@ -91,17 +91,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]=UC_opts.chunksize; + UC_opts.dims[1] = UC_opts.dims[2] = UC_opts.max_dims[1] = UC_opts.max_dims[2] = (hsize_t)UC_opts.chunksize; /* set nplanes */ if (UC_opts.nplanes == 0) - UC_opts.nplanes = UC_opts.chunksize; + UC_opts.nplanes = (hsize_t)UC_opts.chunksize; /* show parameters and return */ show_parameters(); |