diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-08-13 08:36:42 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-08-13 08:36:42 (GMT) |
commit | 5b6bd7c922d81bb6d1877c03e4b012823f03f88a (patch) | |
tree | 0b2564076409a5203df189a480f5cd6471aa57e1 /src/H5Pencdec.c | |
parent | e874070dbb27994b24860f94ffc53ca1b12211fa (diff) | |
download | hdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.zip hdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.tar.gz hdf5-5b6bd7c922d81bb6d1877c03e4b012823f03f88a.tar.bz2 |
Added the map (H5M) API
Diffstat (limited to 'src/H5Pencdec.c')
-rw-r--r-- | src/H5Pencdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pencdec.c b/src/H5Pencdec.c index 8b9962f..2a07a67 100644 --- a/src/H5Pencdec.c +++ b/src/H5Pencdec.c @@ -722,7 +722,7 @@ H5P__decode(const void *buf) /* Get the type of the property list */ type = (H5P_plist_type_t)*p++; - if(type <= H5P_TYPE_USER || type > H5P_TYPE_LINK_ACCESS) + if(type <= H5P_TYPE_USER || type >= H5P_TYPE_MAX_TYPE) HGOTO_ERROR(H5E_PLIST, H5E_BADRANGE, FAIL, "bad type of encoded information: %u", (unsigned)type) /* Create new property list of the specified type */ |