summaryrefslogtreecommitdiffstats
path: root/src/H5Toh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Toh.c')
-rw-r--r--src/H5Toh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Toh.c b/src/H5Toh.c
index 73e6c24..2c952e1 100644
--- a/src/H5Toh.c
+++ b/src/H5Toh.c
@@ -43,7 +43,7 @@
/********************/
static htri_t H5O_dtype_isa(H5O_t *loc);
-static hid_t H5O_dtype_open(H5G_loc_t *obj_loc, hid_t dxpl_id);
+static hid_t H5O_dtype_open(const H5G_loc_t *obj_loc, hid_t dxpl_id);
static H5O_loc_t *H5O_dtype_get_oloc(hid_t obj_id);
@@ -121,7 +121,7 @@ done:
*-------------------------------------------------------------------------
*/
static hid_t
-H5O_dtype_open(H5G_loc_t *obj_loc, hid_t dxpl_id)
+H5O_dtype_open(const H5G_loc_t *obj_loc, hid_t dxpl_id)
{
H5T_t *type = NULL; /* Datatype opened */
hid_t ret_value; /* Return value */