summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-05-06 01:47:40 (GMT)
committerGitHub <noreply@github.com>2022-05-06 01:47:40 (GMT)
commit4d335fc26754625742cd19d77fb060f24ed98736 (patch)
treeccfb971995172a7c29f175ff89ece1165142c13b /tools/lib/h5tools.c
parent89f8f843532835662e4c649aad368b7c7cae7006 (diff)
downloadhdf5-4d335fc26754625742cd19d77fb060f24ed98736.zip
hdf5-4d335fc26754625742cd19d77fb060f24ed98736.tar.gz
hdf5-4d335fc26754625742cd19d77fb060f24ed98736.tar.bz2
Onion VFD: Cleans up warnings related to onion VFD stuff in tools code (#1733)
* Cleans up warnings related to onion VFD stuff in tools code Also disables an h5dump test that has a missing file * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r--tools/lib/h5tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 6336b41..2394ddf 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -575,7 +575,7 @@ h5tools_set_fapl_vfd(hid_t fapl_id, h5tools_vfd_info_t *vfd_info)
/* Onion driver */
if (!vfd_info->info)
H5TOOLS_GOTO_ERROR(FAIL, "Onion VFD info is invalid");
- if (H5Pset_fapl_onion(fapl_id, (H5FD_onion_fapl_info_t *)vfd_info->info) < 0)
+ if (H5Pset_fapl_onion(fapl_id, (const H5FD_onion_fapl_info_t *)vfd_info->info) < 0)
H5TOOLS_GOTO_ERROR(FAIL, "H5Pset_fapl_onion() failed");
}
else {