summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2018-03-09 22:11:07 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2018-03-09 22:11:07 (GMT)
commit6b99b7b02edfbeba9c12f608839c91ba0a0d87b0 (patch)
tree5bb7de1264420dbe1d95b60f4cd17b8d4e856c82 /src/H5Shyper.c
parent496af1be89de67fee06f23e4e6354a0d18c3be92 (diff)
downloadhdf5-6b99b7b02edfbeba9c12f608839c91ba0a0d87b0.zip
hdf5-6b99b7b02edfbeba9c12f608839c91ba0a0d87b0.tar.gz
hdf5-6b99b7b02edfbeba9c12f608839c91ba0a0d87b0.tar.bz2
Resolve compilation errors.
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 71bfa51..6f778fe 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -2039,7 +2039,7 @@ H5S_hyper_set_version(const H5S_t *space, hsize_t block_count, hsize_t bounds_en
}
if(H5S_hyper_is_regular(space)) {
- if((H5F_USE_LATEST_FLAGS(f, H5F_LATEST_DATASPACE_SELECTION) && block_count > 4) ||
+ if(((H5F_LOW_BOUND(f) >= H5F_LIBVER_V110) && block_count > 4) ||
count_up_version || bound_up_version)
*version = H5S_HYPER_VERSION_2;
} else { /* Fail for irregular hyperslab if exceeds 32 bits */