summaryrefslogtreecommitdiffstats
path: root/src/H5FDros3.c
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2022-04-15 20:19:21 (GMT)
committerGitHub <noreply@github.com>2022-04-15 20:19:21 (GMT)
commit463ef39bc777340b731903995a2ad416ec5e0ae4 (patch)
tree006f3cffc0d4e87493cae0491dc0ef3acb8944ce /src/H5FDros3.c
parent9131d5289ce8eebdf71eaf8098cc6dfc816888e9 (diff)
downloadhdf5-463ef39bc777340b731903995a2ad416ec5e0ae4.zip
hdf5-463ef39bc777340b731903995a2ad416ec5e0ae4.tar.gz
hdf5-463ef39bc777340b731903995a2ad416ec5e0ae4.tar.bz2
OESS-168: Remove clang warnings. (#1376)
Diffstat (limited to 'src/H5FDros3.c')
-rw-r--r--src/H5FDros3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FDros3.c b/src/H5FDros3.c
index e9c980b..b1bb559 100644
--- a/src/H5FDros3.c
+++ b/src/H5FDros3.c
@@ -375,7 +375,7 @@ H5FD__ros3_term(void)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa)
+H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
{
H5P_genplist_t *plist = NULL; /* Property list pointer */
herr_t ret_value = FAIL;
@@ -396,7 +396,7 @@ H5Pset_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa)
if (FAIL == H5FD__ros3_validate_config(fa))
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid ros3 config")
- ret_value = H5P_set_driver(plist, H5FD_ROS3, (void *)fa, NULL);
+ ret_value = H5P_set_driver(plist, H5FD_ROS3, (const void *)fa, NULL);
done:
FUNC_LEAVE_API(ret_value)