summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
parent9131d5289ce8eebdf71eaf8098cc6dfc816888e9 (diff)
downloadhdf5-463ef39bc777340b731903995a2ad416ec5e0ae4.zip
hdf5-463ef39bc777340b731903995a2ad416ec5e0ae4.tar.gz
hdf5-463ef39bc777340b731903995a2ad416ec5e0ae4.tar.bz2
OESS-168: Remove clang warnings. (#1376)
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index c7dba25..8768633 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -554,7 +554,7 @@ h5tools_set_fapl_vfd(hid_t fapl_id, h5tools_vfd_info_t *vfd_info)
#ifdef H5_HAVE_ROS3_VFD
if (!vfd_info->info)
H5TOOLS_GOTO_ERROR(FAIL, "Read-only S3 VFD info is invalid");
- if (H5Pset_fapl_ros3(fapl_id, (H5FD_ros3_fapl_t *)vfd_info->info) < 0)
+ if (H5Pset_fapl_ros3(fapl_id, (const H5FD_ros3_fapl_t *)vfd_info->info) < 0)
H5TOOLS_GOTO_ERROR(FAIL, "H5Pset_fapl_ros3() failed");
#else
H5TOOLS_GOTO_ERROR(FAIL, "Read-only S3 VFD is not enabled");
@@ -1905,6 +1905,7 @@ render_bin_output(FILE *stream, hid_t container, hid_t tid, void *_mem, hsize_t
else {
if ((region_space = H5Ropen_region(&tref, H5P_DEFAULT, H5P_DEFAULT)) >= 0) {
if (!h5tools_is_zero(&tref, H5Tget_size(H5T_STD_REF))) {
+
region_type = H5Sget_select_type(region_space);
if (region_type == H5S_SEL_POINTS)
render_bin_output_region_points(region_space, region_id, stream,