summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-12-18 18:00:35 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-12-18 18:00:35 (GMT)
commit6a87cc96a65043ab2b61bc4358c181146b8068f2 (patch)
treeb2acb7c3dd8a74b8df94db9ef8f190e6403ccf62 /src
parentb6d27bdf90b3964af52ae015d14fbd23352dd04a (diff)
downloadhdf5-6a87cc96a65043ab2b61bc4358c181146b8068f2.zip
hdf5-6a87cc96a65043ab2b61bc4358c181146b8068f2.tar.gz
hdf5-6a87cc96a65043ab2b61bc4358c181146b8068f2.tar.bz2
Made hbool_t processing consistent in va_lists.
Diffstat (limited to 'src')
-rw-r--r--src/H5L.c2
-rw-r--r--src/H5VLnative.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 719baa2..33e561a 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -1332,7 +1332,7 @@ H5Literate(hid_t group_id, H5_index_t idx_type, H5_iter_order_t order,
loc_params.obj_type = H5I_get_type(group_id);
/* Iterate over the links */
- if((ret_value = H5VL_link_specific(vol_obj, &loc_params, H5VL_LINK_ITER, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, FALSE, (int)idx_type, (int)order, idx_p, op, op_data)) < 0)
+ if((ret_value = H5VL_link_specific(vol_obj, &loc_params, H5VL_LINK_ITER, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, (unsigned)FALSE, (int)idx_type, (int)order, idx_p, op, op_data)) < 0)
HGOTO_ERROR(H5E_LINK, H5E_BADITER, FAIL, "link iteration failed")
done:
diff --git a/src/H5VLnative.c b/src/H5VLnative.c
index 620aed4..9c72435 100644
--- a/src/H5VLnative.c
+++ b/src/H5VLnative.c
@@ -2872,7 +2872,7 @@ H5VL__native_link_specific(void *obj, const H5VL_loc_params_t *loc_params, H5VL_
case H5VL_LINK_ITER:
{
H5G_loc_t loc;
- hbool_t recursive = (hbool_t)HDva_arg(arguments, int);
+ hbool_t recursive = (hbool_t)HDva_arg(arguments, unsigned);
H5_index_t idx_type = (H5_index_t)HDva_arg(arguments, int); /* enum work-around */
H5_iter_order_t order = (H5_iter_order_t)HDva_arg(arguments, int); /* enum work-around */
hsize_t *idx_p = HDva_arg(arguments, hsize_t *);