summaryrefslogtreecommitdiffstats
path: root/test/th5s.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-06 15:51:06 (GMT)
committerkmu <kmu@hdfgroup.org>2019-12-06 15:51:06 (GMT)
commit1f871e23b7c3fdec925004f2cd39d3a2cdd8decb (patch)
tree0f267b01ff7617ee44c904fc6ad7cbd4d13303f9 /test/th5s.c
parent463199464f2b5c9f798b23ffe3f1db139b68f4d2 (diff)
parent107bcbd3dfff51895c99ea3ff71afa0ce693a956 (diff)
downloadhdf5-1f871e23b7c3fdec925004f2cd39d3a2cdd8decb.zip
hdf5-1f871e23b7c3fdec925004f2cd39d3a2cdd8decb.tar.gz
hdf5-1f871e23b7c3fdec925004f2cd39d3a2cdd8decb.tar.bz2
Merge branch 'develop' of https://git.hdfgroup.org/scm/hdffv/hdf5 into develop
Diffstat (limited to 'test/th5s.c')
-rw-r--r--test/th5s.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/th5s.c b/test/th5s.c
index 1a4456a..747e741 100644
--- a/test/th5s.c
+++ b/test/th5s.c
@@ -591,7 +591,7 @@ test_h5s_zero_dim(void)
wdata_real[i][j][k] = (int)(i + j + k);
/* Test with different space allocation times */
- for(alloc_time = H5D_ALLOC_TIME_EARLY; alloc_time <= H5D_ALLOC_TIME_INCR; H5_INC_ENUM(H5D_alloc_time_t, alloc_time)) {
+ for(alloc_time = H5D_ALLOC_TIME_EARLY; alloc_time <= H5D_ALLOC_TIME_INCR; alloc_time++) {
/* Make sure we can create the space with the dimension size 0 (starting from v1.8.7).
* The dimension doesn't need to be unlimited. */
@@ -3366,8 +3366,8 @@ test_h5s(void)
test_h5s_zero_dim(); /* Test dataspace with zero dimension size */
/* Loop through all the combinations of low/high version bounds */
- for(low = H5F_LIBVER_EARLIEST; low < H5F_LIBVER_NBOUNDS; H5_INC_ENUM(H5F_libver_t, low)) {
- for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; H5_INC_ENUM(H5F_libver_t, high)) {
+ for(low = H5F_LIBVER_EARLIEST; low < H5F_LIBVER_NBOUNDS; low++) {
+ for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; high++) {
/* Invalid combinations, just continue */
if(high == H5F_LIBVER_EARLIEST || high < low)