From 6a87cc96a65043ab2b61bc4358c181146b8068f2 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Tue, 18 Dec 2018 10:00:35 -0800 Subject: Made hbool_t processing consistent in va_lists. --- src/H5L.c | 2 +- src/H5VLnative.c | 2 +- 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 *); -- cgit v0.12