summaryrefslogtreecommitdiffstats
path: root/test/trefer_deprec.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/trefer_deprec.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/trefer_deprec.c')
-rw-r--r--test/trefer_deprec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/trefer_deprec.c b/test/trefer_deprec.c
index 949f41b..272b866 100644
--- a/test/trefer_deprec.c
+++ b/test/trefer_deprec.c
@@ -517,7 +517,7 @@ test_reference_region(H5F_libver_t libver_low, H5F_libver_t libver_high)
hsize_t high[SPACE2_RANK]; /* Selection bounds */
hdset_reg_ref_t *wbuf, /* buffer to write to disk */
*rbuf; /* buffer read from disk */
- hdset_reg_ref_t nvrbuf[3]={{0},{101},{255}}; /* buffer with non-valid refs */
+ hdset_reg_ref_t nvrbuf[3]={{{0}},{{101}},{{255}}}; /* buffer with non-valid refs */
uint8_t *dwbuf, /* Buffer for writing numeric data to disk */
*drbuf; /* Buffer for reading numeric data from disk */
uint8_t *tu8; /* Temporary pointer to uint8 data */
@@ -1781,8 +1781,8 @@ test_reference_deprec(void)
test_reference_obj(); /* Test basic H5R object reference code */
/* 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)