summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-06-29 00:26:47 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-06-29 00:26:47 (GMT)
commit6ced6457c3048bd10bf6f470b329b4810d9be826 (patch)
treea90c9464b052898428c596e7c085683024141890 /src
parent2042c775f0d9240609527e621d84e4911ad7f6a5 (diff)
downloadhdf5-6ced6457c3048bd10bf6f470b329b4810d9be826.zip
hdf5-6ced6457c3048bd10bf6f470b329b4810d9be826.tar.gz
hdf5-6ced6457c3048bd10bf6f470b329b4810d9be826.tar.bz2
Move the -Wformat-nonliteral warning to the developer flags. Fix bugs
I introduced in the last commit.
Diffstat (limited to 'src')
-rw-r--r--src/H5FL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FL.c b/src/H5FL.c
index a849ff7..9ed867d 100644
--- a/src/H5FL.c
+++ b/src/H5FL.c
@@ -1430,7 +1430,7 @@ H5FL_arr_free(H5FL_arr_head_t *head, void *obj)
HDassert(head->init);
/* Get the pointer to the info header in front of the block to free */
- temp = (H5FL_arr_list_t *)((void *)((unsigned char *)obj - -sizeof(H5FL_arr_list_t))); /*lint !e826 Pointer-to-pointer cast is appropriate here */
+ temp = (H5FL_arr_list_t *)((void *)((unsigned char *)obj - sizeof(H5FL_arr_list_t))); /*lint !e826 Pointer-to-pointer cast is appropriate here */
/* Get the number of elements */
free_nelem=temp->nelem;