diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-02-09 16:53:03 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-02-09 16:53:03 (GMT) |
commit | fc8866d41e0b585b6c6f3e2ec7fd012d543e2624 (patch) | |
tree | cfbebf28c49b5187f4adbefeb2ef8d9be3ed7ca4 /test/use_append_chunk.c | |
parent | 0399f55c54f862a15054712d1f976b9bfc7acec9 (diff) | |
parent | d875f7f3e65754f5618246cec47a75690a58e80c (diff) | |
download | hdf5-fc8866d41e0b585b6c6f3e2ec7fd012d543e2624.zip hdf5-fc8866d41e0b585b6c6f3e2ec7fd012d543e2624.tar.gz hdf5-fc8866d41e0b585b6c6f3e2ec7fd012d543e2624.tar.bz2 |
Merge pull request #294 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'd875f7f3e65754f5618246cec47a75690a58e80c':
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(); |