diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2019-12-05 21:09:23 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2019-12-05 21:09:23 (GMT) |
commit | 1e10b3212ed5904b69d9f4c4bcb4d0122dfd7c77 (patch) | |
tree | 30e78a4e6884636a399ab032c06e7121a1c29595 /src/H5T.c | |
parent | c7b3d6d6a5c1d376812e17c0ddb26f55334a2c59 (diff) | |
download | hdf5-1e10b3212ed5904b69d9f4c4bcb4d0122dfd7c77.zip hdf5-1e10b3212ed5904b69d9f4c4bcb4d0122dfd7c77.tar.gz hdf5-1e10b3212ed5904b69d9f4c4bcb4d0122dfd7c77.tar.bz2 |
Two fixes:
(1) Set the version for reference datatype messge to H5O_DTYPE_VERSION_4.
(2) Verify the decoded version for hyperslab selection.
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |