summaryrefslogtreecommitdiffstats
path: root/src/H5Ocache.c
diff options
context:
space:
mode:
authorSongyu Lu <songyulu@hdfgroup.org>2018-11-27 15:04:42 (GMT)
committerSongyu Lu <songyulu@hdfgroup.org>2018-11-27 15:04:42 (GMT)
commit14de476c8cb1b797ad43bea3c71dfb32bcd2131c (patch)
treeea5ba84d3dd32ec5260718416f1795a771fd32d2 /src/H5Ocache.c
parent9c7161e105aaade595c4f382e76ec3b95990ae91 (diff)
downloadhdf5-14de476c8cb1b797ad43bea3c71dfb32bcd2131c.zip
hdf5-14de476c8cb1b797ad43bea3c71dfb32bcd2131c.tar.gz
hdf5-14de476c8cb1b797ad43bea3c71dfb32bcd2131c.tar.bz2
HDFFV-10607 Fixing two compiler warnings in the library.
Diffstat (limited to 'src/H5Ocache.c')
-rw-r--r--src/H5Ocache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ocache.c b/src/H5Ocache.c
index e7cad83..fba4f6e 100644
--- a/src/H5Ocache.c
+++ b/src/H5Ocache.c
@@ -1619,7 +1619,7 @@ H5O__chunk_deserialize(H5O_t *oh, haddr_t addr, size_t len, const uint8_t *image
done:
if(ret_value < 0 && udata->cont_msg_info->msgs) {
- udata->cont_msg_info->msgs = (H5O_chunk_t *)H5FL_SEQ_FREE(H5O_cont_t, udata->cont_msg_info->msgs);
+ udata->cont_msg_info->msgs = H5FL_SEQ_FREE(H5O_cont_t, udata->cont_msg_info->msgs);
udata->cont_msg_info->alloc_nmsgs = 0;
}
FUNC_LEAVE_NOAPI(ret_value)