summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5T.c2
-rw-r--r--src/H5Tprivate.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 4a3c533..e25d758 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -2610,7 +2610,7 @@ H5Tdetect_class(hid_t type, H5T_class_t cls)
*-------------------------------------------------------------------------
*/
htri_t
-H5T_detect_class (H5T_t *dt, H5T_class_t cls)
+H5T_detect_class (const H5T_t *dt, H5T_class_t cls)
{
int i;
diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h
index 2381b5d..ba09e93 100644
--- a/src/H5Tprivate.h
+++ b/src/H5Tprivate.h
@@ -106,7 +106,7 @@ __DLL__ herr_t H5T_unregister(H5T_pers_t pers, const char *name, H5T_t *src,
H5T_t *dst, H5T_conv_t func);
__DLL__ herr_t H5T_path_force_reinit(H5T_t *dt);
__DLL__ H5T_class_t H5T_get_class(const H5T_t *dt);
-__DLL__ htri_t H5T_detect_class (H5T_t *dt, H5T_class_t cls);
+__DLL__ htri_t H5T_detect_class (const H5T_t *dt, H5T_class_t cls);
__DLL__ size_t H5T_get_size(const H5T_t *dt);
__DLL__ int H5T_cmp(const H5T_t *dt1, const H5T_t *dt2);
__DLL__ htri_t H5T_is_atomic(const H5T_t *dt);