summaryrefslogtreecommitdiffstats
path: root/src/H5Tcommit.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2013-06-27 18:47:14 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2013-06-27 18:47:14 (GMT)
commit3885f3ebdd0b4415a7ced149b46cf895bf643a95 (patch)
tree2d7073bc46bd7cdab7ecdac40bf5c02e96a9c7e7 /src/H5Tcommit.c
parent59a523410bcfed4bc14be9f17d72bd9ee6fb21dd (diff)
downloadhdf5-3885f3ebdd0b4415a7ced149b46cf895bf643a95.zip
hdf5-3885f3ebdd0b4415a7ced149b46cf895bf643a95.tar.gz
hdf5-3885f3ebdd0b4415a7ced149b46cf895bf643a95.tar.bz2
[svn-r23836] fix bug in public API of H5Tget_vol_named_type
Diffstat (limited to 'src/H5Tcommit.c')
-rw-r--r--src/H5Tcommit.c4
1 files changed, 2 insertions, 2 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)