summaryrefslogtreecommitdiffstats
path: root/src/H5MPtest.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2019-06-29 00:30:41 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2019-06-29 00:30:41 (GMT)
commitf97ea92fe5450cefd4c4d9fb266e7f42a952f2f9 (patch)
treea90c9464b052898428c596e7c085683024141890 /src/H5MPtest.c
parent13d951d37205bcd48723330a898e5d67c5e1ecb2 (diff)
parent6ced6457c3048bd10bf6f470b329b4810d9be826 (diff)
downloadhdf5-f97ea92fe5450cefd4c4d9fb266e7f42a952f2f9.zip
hdf5-f97ea92fe5450cefd4c4d9fb266e7f42a952f2f9.tar.gz
hdf5-f97ea92fe5450cefd4c4d9fb266e7f42a952f2f9.tar.bz2
Merge pull request #1784 in HDFFV/hdf5 from ~KOZIOL/hdf5:feature/update_gcc_flags to develop
* commit '6ced6457c3048bd10bf6f470b329b4810d9be826': Move the -Wformat-nonliteral warning to the developer flags. Fix bugs I introduced in the last commit. Updated configure & CMake compiler flags for GCC 8.x, along with corresponding changes to warnhist script (and some extra improvements for condensing C++ and Java warnings), and fixed a bunch of warnings.
Diffstat (limited to 'src/H5MPtest.c')
-rw-r--r--src/H5MPtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5MPtest.c b/src/H5MPtest.c
index b3f2e24..0cba847 100644
--- a/src/H5MPtest.c
+++ b/src/H5MPtest.c
@@ -134,7 +134,7 @@ H5MP_pool_is_free_size_correct(const H5MP_pool_t *mp)
size_t page_free; /* Size of blocks on free list */
/* Iterate through the blocks in page, accumulating free space */
- blk = (H5MP_page_blk_t *)((unsigned char *)page + H5MP_BLOCK_ALIGN(sizeof(H5MP_page_t)));
+ blk = (H5MP_page_blk_t *)((void *)((unsigned char *)page + H5MP_BLOCK_ALIGN(sizeof(H5MP_page_t))));
page_free = 0;
while(blk != NULL) {
if(blk->is_free)