summaryrefslogtreecommitdiffstats
path: root/src/H5Toh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Toh.c')
-rw-r--r--src/H5Toh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Toh.c b/src/H5Toh.c
index bfca641..2137a8a 100644
--- a/src/H5Toh.c
+++ b/src/H5Toh.c
@@ -62,7 +62,7 @@ static H5O_loc_t *H5O_dtype_get_oloc(hid_t obj_id);
/* This message derives from H5O object class */
const H5O_obj_class_t H5O_OBJ_DATATYPE[1] = {{
- H5G_TYPE, /* object type */
+ H5O_TYPE_NAMED_DATATYPE, /* object type */
"named datatype", /* object name, for debugging */
NULL, /* get 'copy file' user data */
NULL, /* free 'copy file' user data */