summaryrefslogtreecommitdiffstats
path: root/test/trefer_deprec.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-12-05 00:08:57 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-12-05 00:08:57 (GMT)
commitc7b3d6d6a5c1d376812e17c0ddb26f55334a2c59 (patch)
tree5505acff8b58df08aa624c708e4ef29c1574948f /test/trefer_deprec.c
parentaa0b54e27e5d6f0b7c23fe5662d5c8f30898d7f4 (diff)
parent1ad02a445920578654d257bb66aa1e8e7e368018 (diff)
downloadhdf5-c7b3d6d6a5c1d376812e17c0ddb26f55334a2c59.zip
hdf5-c7b3d6d6a5c1d376812e17c0ddb26f55334a2c59.tar.gz
hdf5-c7b3d6d6a5c1d376812e17c0ddb26f55334a2c59.tar.bz2
Merge pull request #2072 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:cpp_warning_disable to develop
* commit '1ad02a445920578654d257bb66aa1e8e7e368018': Yanked -Wc++-compat from the flags used to build the C library in both the Autotools and CMake.
Diffstat (limited to 'test/trefer_deprec.c')
-rw-r--r--test/trefer_deprec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trefer_deprec.c b/test/trefer_deprec.c
index 949f41b..194f27e 100644
--- a/test/trefer_deprec.c
+++ b/test/trefer_deprec.c
@@ -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)