diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-12-18 19:53:02 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-12-18 19:53:02 (GMT) |
commit | b486fd10a44df052c8c2f030ab8c2c25dfa0f8a2 (patch) | |
tree | 333ba43551a7cbaae446299c04c4d52c63eccd07 /src/H5Rdeprec.c | |
parent | f0c83dedb64082dcbce3012e99fcb77dc1d96d1b (diff) | |
parent | 70c8c629ce1d7b1eb98220135ddcca1bf9c5b7fc (diff) | |
download | hdf5-b486fd10a44df052c8c2f030ab8c2c25dfa0f8a2.zip hdf5-b486fd10a44df052c8c2f030ab8c2c25dfa0f8a2.tar.gz hdf5-b486fd10a44df052c8c2f030ab8c2c25dfa0f8a2.tar.bz2 |
Merge pull request #1392 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:vol_optional_enum_to_macros to develop
* commit '70c8c629ce1d7b1eb98220135ddcca1bf9c5b7fc':
Added missing H5O calls.
Fixed a missing H5R call.
Made hbool_t processing consistent in va_lists.
Fixed an enums-in-va_list issue in the passthru VOL connector.
Updated enums in VOL va_lists to be passed as ints.
Diffstat (limited to 'src/H5Rdeprec.c')
-rw-r--r-- | src/H5Rdeprec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Rdeprec.c b/src/H5Rdeprec.c index 827506e..ab8d3b4 100644 --- a/src/H5Rdeprec.c +++ b/src/H5Rdeprec.c @@ -126,7 +126,7 @@ H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5G_UNKNOWN, "invalid file identifier") /* Get the object information */ - if(H5VL_object_get(vol_obj, &loc_params, H5VL_REF_GET_TYPE, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &obj_type, ref_type, ref) < 0) + if(H5VL_object_get(vol_obj, &loc_params, H5VL_REF_GET_TYPE, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &obj_type, (int)ref_type, ref) < 0) HGOTO_ERROR(H5E_REFERENCE, H5E_CANTGET, H5G_UNKNOWN, "unable to determine object type") /* Set return value */ |