diff options
Diffstat (limited to 'src/H5R.c')
-rw-r--r-- | src/H5R.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -880,7 +880,11 @@ H5Rget_obj_type(hid_t id, H5R_type_t ref_type, void *_ref) file=loc->file; /* Get the object information */ - if ((ret_value=H5R_get_obj_type(file,H5AC_ind_dxpl_id,ref_type,_ref))<0) + if ((ret_value= +#ifndef H5_WANT_H5_V1_4_COMPAT + (H5G_obj_t) +#endif /* H5_WANT_H5_V1_4_COMPAT */ + H5R_get_obj_type(file,H5AC_ind_dxpl_id,ref_type,_ref))<0) HGOTO_ERROR(H5E_REFERENCE, H5E_CANTINIT, H5G_UNKNOWN, "unable to determine object type"); done: |