summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-12-06 18:17:30 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2019-12-06 18:17:30 (GMT)
commit0f1be317c37ca04db263680e6f1fe4d97b937b39 (patch)
tree7639a541e3c052127bce577d60c6f217ac754cf0 /src
parentf3686baaf0de37c2a4db6c3ec68d3a1be7c600e5 (diff)
downloadhdf5-0f1be317c37ca04db263680e6f1fe4d97b937b39.zip
hdf5-0f1be317c37ca04db263680e6f1fe4d97b937b39.tar.gz
hdf5-0f1be317c37ca04db263680e6f1fe4d97b937b39.tar.bz2
More fixes for the PR:
(1) Set the version for reference datatype message to H5O_DTYPE_VERSION_4. (2) The tests for the new reference types should work for V112 and beyond.
Diffstat (limited to 'src')
-rw-r--r--src/H5T.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 43dfef8..f2d6c70 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -254,6 +254,7 @@
dt->shared->u.atomic.u.r.rtype = H5R_OBJECT2; \
dt->shared->u.atomic.u.r.opaque = TRUE; \
dt->shared->u.atomic.u.r.version = H5R_ENCODE_VERSION; \
+ dt->shared->version = H5O_DTYPE_VERSION_4; \
}
/* Define the code templates for the "SIZE_TMPL" in the H5T_INIT_TYPE macro */