mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
Made hbool_t processing consistent in va_lists.
This commit is contained in:
parent
b6d27bdf90
commit
6a87cc96a6
@ -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:
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user