summaryrefslogtreecommitdiffstats
path: root/test/objcopy.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-03-21 08:15:09 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-03-21 08:15:09 (GMT)
commit97cdcc47e4291394d136121554f8d5130ab19bd4 (patch)
tree91f4e68ebcba53bcb5ad40752ef534957b92c61f /test/objcopy.c
parentb01b84f245bcaf02c718463b38f1e693d5408de9 (diff)
downloadhdf5-97cdcc47e4291394d136121554f8d5130ab19bd4.zip
hdf5-97cdcc47e4291394d136121554f8d5130ab19bd4.tar.gz
hdf5-97cdcc47e4291394d136121554f8d5130ab19bd4.tar.bz2
Used the H5_INC_ENUM macro to squash enum value increment warnings.
Diffstat (limited to 'test/objcopy.c')
-rw-r--r--test/objcopy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index 4055781..f526f7b 100644
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -2197,8 +2197,8 @@ test_copy_dataset_versionbounds(hid_t fcpl_src, hid_t fapl_src)
/* Loop through all the combinations of low/high library format bounds,
skipping invalid combinations. Create a destination file and copy the
source dataset to it, then verify */
- for(low = H5F_LIBVER_EARLIEST; low < H5F_LIBVER_NBOUNDS; low++) {
- for(high = H5F_LIBVER_EARLIEST; high < H5F_LIBVER_NBOUNDS; high++) {
+ 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)) {
/* Set version bounds */
H5E_BEGIN_TRY {