diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-12-18 18:03:29 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-12-18 18:03:29 (GMT) |
commit | b73052799cb6007960d2cf3e66c8e3d5a225a673 (patch) | |
tree | bfa566b10facb6e4fd9e92ff0cc80b2d025cc31a | |
parent | 6a87cc96a65043ab2b61bc4358c181146b8068f2 (diff) | |
download | hdf5-b73052799cb6007960d2cf3e66c8e3d5a225a673.zip hdf5-b73052799cb6007960d2cf3e66c8e3d5a225a673.tar.gz hdf5-b73052799cb6007960d2cf3e66c8e3d5a225a673.tar.bz2 |
Fixed a missing H5R call.
-rw-r--r-- | src/H5Rdeprec.c | 2 | ||||
-rw-r--r-- | src/H5VLnative.c | 2 |
2 files changed, 2 insertions, 2 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 */ diff --git a/src/H5VLnative.c b/src/H5VLnative.c index 9c72435..90a5ca5 100644 --- a/src/H5VLnative.c +++ b/src/H5VLnative.c @@ -3109,7 +3109,7 @@ H5VL__native_object_get(void *obj, const H5VL_loc_params_t *loc_params, H5VL_obj break; } - /* H5Rget_obj_type2 */ + /* H5Rget_obj_type1/2 */ case H5VL_REF_GET_TYPE: { H5O_type_t *obj_type = HDva_arg(arguments, H5O_type_t *); |