diff options
author | Mark Kittisopikul <mkitti@users.noreply.github.com> | 2023-03-10 00:52:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 00:52:46 (GMT) |
commit | 28984e72446f54132e6fafc90babb52d9b5e7c9a (patch) | |
tree | a5c7dabf5167ba4ead229748fb3863abf55deea7 /doxygen | |
parent | 7fbd15fff44a7e7538e67cfcaa1ec68adace64f7 (diff) | |
download | hdf5-28984e72446f54132e6fafc90babb52d9b5e7c9a.zip hdf5-28984e72446f54132e6fafc90babb52d9b5e7c9a.tar.gz hdf5-28984e72446f54132e6fafc90babb52d9b5e7c9a.tar.bz2 |
Fix H5Dchunk_iter doxygen example (#2520)
Diffstat (limited to 'doxygen')
-rw-r--r-- | doxygen/examples/H5D_examples.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doxygen/examples/H5D_examples.c b/doxygen/examples/H5D_examples.c index 7af3cc4..ae483ee 100644 --- a/doxygen/examples/H5D_examples.c +++ b/doxygen/examples/H5D_examples.c @@ -7,10 +7,10 @@ //! <!-- [H5Dchunk_iter_cb] --> int -chunk_cb(const hsize_t *offset, uint32_t filter_mask, haddr_t addr, uint32_t nbytes, void *op_data) +chunk_cb(const hsize_t *offset, unsigned filter_mask, haddr_t addr, hsize_t size, void *op_data) { // only print the allocated chunk size only - printf("%d\n", nbytes); + printf("%ld\n", size); return EXIT_SUCCESS; } //! <!-- [H5Dchunk_iter_cb] --> @@ -67,7 +67,7 @@ H5Ovisit_cb(hid_t obj, const char *name, const H5O_info2_t *info, void *op_data) retval = -1; goto fail_fig; } - +fail_fig: fail_shape: H5Sclose(dspace); fail_dspace: |