summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-09-12 18:52:38 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-09-12 18:52:38 (GMT)
commit0a81436fab1692ed394f83b6d595ad9a32cbc285 (patch)
tree1a74904b9952d51c72caaef74f782c39df2db20a /src/H5T.c
parentfaf3336f522ec0e1764418e3b05b6d445520f857 (diff)
downloadhdf5-0a81436fab1692ed394f83b6d595ad9a32cbc285.zip
hdf5-0a81436fab1692ed394f83b6d595ad9a32cbc285.tar.gz
hdf5-0a81436fab1692ed394f83b6d595ad9a32cbc285.tar.bz2
Convert several warnings about const to non-const conversion at H5Tcopy()
invocations to one warning in the H5Tcopy() implementation.
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5T.c b/src/H5T.c
index a9d2168..62fe128 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -3193,7 +3193,7 @@ done:
*-------------------------------------------------------------------------
*/
H5T_t *
-H5T_copy(H5T_t *old_dt, H5T_copy_t method)
+H5T_copy(const H5T_t *old_dt, H5T_copy_t method)
{
H5T_t *new_dt = NULL, *tmp = NULL;
H5T_shared_t *reopened_fo = NULL;