summaryrefslogtreecommitdiffstats
path: root/test/page_buffer.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-12-04 08:49:52 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-12-16 16:13:47 (GMT)
commit957940befb6358345840a6943e8ff736cbdd11f7 (patch)
treef99b0d8ff9ef22e06af698320933df2eea84a3af /test/page_buffer.c
parent19f32485cf50b1797583e9f31acccd7e55b8a2a2 (diff)
downloadhdf5-957940befb6358345840a6943e8ff736cbdd11f7.zip
hdf5-957940befb6358345840a6943e8ff736cbdd11f7.tar.gz
hdf5-957940befb6358345840a6943e8ff736cbdd11f7.tar.bz2
Yanked -Wc++-compat from the flags used to build the C library in both
the Autotools and CMake.
Diffstat (limited to 'test/page_buffer.c')
-rw-r--r--test/page_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/page_buffer.c b/test/page_buffer.c
index e11a6d6..5313c9b 100644
--- a/test/page_buffer.c
+++ b/test/page_buffer.c
@@ -336,7 +336,7 @@ set_multi_split(const char *env_h5_drvr, hid_t fapl, hsize_t pagesize)
memb_addr[H5FD_MEM_DRAW] = ((memb_addr[H5FD_MEM_DRAW] + pagesize - 1) / pagesize) * pagesize;
} else {
/* Set memb_addr aligned */
- for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t, mt))
+ for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; mt++)
memb_addr[mt] = ((memb_addr[mt] + pagesize - 1) / pagesize) * pagesize;
} /* end else */
@@ -345,7 +345,7 @@ set_multi_split(const char *env_h5_drvr, hid_t fapl, hsize_t pagesize)
TEST_ERROR
/* Free memb_name */
- for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; H5_INC_ENUM(H5FD_mem_t, mt))
+ for(mt = H5FD_MEM_DEFAULT; mt < H5FD_MEM_NTYPES; mt++)
free(memb_name[mt]);
} /* end if */