summaryrefslogtreecommitdiffstats
path: root/src/H5VLnative.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-10-26 05:54:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-10-26 05:54:29 (GMT)
commit305997501dd4c44cb46adfc0159489ae84c5fad4 (patch)
tree9be360975ec087d7aec751b22b336f79932dca26 /src/H5VLnative.c
parent4a328957243ca7502a4c4966d6598498be43e3cd (diff)
downloadhdf5-305997501dd4c44cb46adfc0159489ae84c5fad4.zip
hdf5-305997501dd4c44cb46adfc0159489ae84c5fad4.tar.gz
hdf5-305997501dd4c44cb46adfc0159489ae84c5fad4.tar.bz2
Updates after merging changes from develop.
Diffstat (limited to 'src/H5VLnative.c')
-rw-r--r--src/H5VLnative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VLnative.c b/src/H5VLnative.c
index b67caa6..22723a0 100644
--- a/src/H5VLnative.c
+++ b/src/H5VLnative.c
@@ -400,7 +400,7 @@ H5VL_native_register(H5I_type_t type, const void *obj, hbool_t app_ref)
* field will get clobbered later, so disallow this.
*/
if(type == H5I_DATATYPE)
- if(((H5T_t *)obj)->vol_obj != NULL)
+ if(((const H5T_t *)obj)->vol_obj != NULL)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "can only get an ID for an uncommitted datatype")
HDassert(0 && "H5VL_native_register");