diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-09-17 16:49:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 16:49:38 (GMT) |
commit | 6d89634445eb70cc5fb2f29e2c8ea21eebf4436d (patch) | |
tree | 47125fcfdf46020e947972094a3df30e84fc511d /src/H5Pfapl.c | |
parent | a9d8b469f46d2f5de7521b986d2e14725e081eb9 (diff) | |
download | hdf5-6d89634445eb70cc5fb2f29e2c8ea21eebf4436d.zip hdf5-6d89634445eb70cc5fb2f29e2c8ea21eebf4436d.tar.gz hdf5-6d89634445eb70cc5fb2f29e2c8ea21eebf4436d.tar.bz2 |
Updates VOL capabilities flags (#2105)
* Added feature/vol_cap_flags branch to GitHub actions
* Convert unsigned cap flag field to uint64_t and add flags
* Committing clang-format changes
* Convert unsigned cap flag field to uint64_t and add flags
* Committing clang-format changes
* Updates the VOL struct version number
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5Pfapl.c')
-rw-r--r-- | src/H5Pfapl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c index 8afc450..2850bc6 100644 --- a/src/H5Pfapl.c +++ b/src/H5Pfapl.c @@ -6255,12 +6255,12 @@ done: *------------------------------------------------------------------------- */ herr_t -H5Pget_vol_cap_flags(hid_t plist_id, unsigned *cap_flags) +H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags) { herr_t ret_value = SUCCEED; /* Return value */ FUNC_ENTER_API(FAIL) - H5TRACE2("e", "i*Iu", plist_id, cap_flags); + H5TRACE2("e", "i*UL", plist_id, cap_flags); /* Get the 'cap_flags' from the connector */ if (cap_flags) { @@ -6279,10 +6279,10 @@ H5Pget_vol_cap_flags(hid_t plist_id, unsigned *cap_flags) /* Query the capability flags */ if (H5VL_get_cap_flags(&connector_prop, cap_flags) < 0) HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get VOL connector capability flags") - } /* end if */ + } else HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a file access property list") - } /* end if */ + } done: FUNC_LEAVE_API(ret_value) |