diff options
Diffstat (limited to 'src/H5Tdeprec.c')
-rw-r--r-- | src/H5Tdeprec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tdeprec.c b/src/H5Tdeprec.c index 64386b1..df6238c 100644 --- a/src/H5Tdeprec.c +++ b/src/H5Tdeprec.c @@ -210,7 +210,7 @@ H5Topen1(hid_t loc_id, const char *name) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTOPENOBJ, FAIL, "unable to open named datatype") /* Register the type and return the ID */ - if((ret_value = H5I_register(H5I_DATATYPE, type)) < 0) + if((ret_value = H5I_register(H5I_DATATYPE, type, TRUE)) < 0) HGOTO_ERROR(H5E_DATATYPE, H5E_CANTREGISTER, FAIL, "unable to register named datatype") done: |