diff options
-rw-r--r-- | src/H5Tcommit.c | 4 | ||||
-rw-r--r-- | src/H5Tpublic.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Tcommit.c b/src/H5Tcommit.c index dca92b9..ebfe1e8 100644 --- a/src/H5Tcommit.c +++ b/src/H5Tcommit.c @@ -928,7 +928,7 @@ H5T_update_shared(H5T_t *dt) *------------------------------------------------------------------------- */ herr_t -H5Tget_vol_named_type(hid_t type_id, void *dt_obj) +H5Tget_vol_named_type(hid_t type_id, void **dt_obj) { H5T_t *type; /* datatype for operation */ herr_t ret_value = SUCCEED; /* Return value */ @@ -939,7 +939,7 @@ H5Tget_vol_named_type(hid_t type_id, void *dt_obj) if(NULL == (type = (H5T_t *)H5I_object_verify(type_id, H5I_DATATYPE))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a datatype") - dt_obj = H5T_get_named_type(type); + *dt_obj = H5T_get_named_type(type); done: FUNC_LEAVE_API(ret_value) diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h index 7d63c5a..c3635d3 100644 --- a/src/H5Tpublic.h +++ b/src/H5Tpublic.h @@ -611,7 +611,7 @@ H5_DLL hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[/* ndims */], const int perm[/* ndims */]); H5_DLL int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[]); -H5_DLL herr_t H5Tget_vol_named_type(hid_t type_id, void *dt_obj); +H5_DLL herr_t H5Tget_vol_named_type(hid_t type_id, void **dt_obj); #endif /* H5_NO_DEPRECATED_SYMBOLS */ |