summaryrefslogtreecommitdiffstats
path: root/src/H5Rint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Rint.c')
-rw-r--r--src/H5Rint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Rint.c b/src/H5Rint.c
index ff886d6..1e2e56e 100644
--- a/src/H5Rint.c
+++ b/src/H5Rint.c
@@ -557,7 +557,7 @@ H5R__get_region(H5F_t *file, const void *_ref)
HGOTO_ERROR(H5E_DATASPACE, H5E_NOTFOUND, NULL, "not found")
/* Unserialize the selection */
- if (H5S_SELECT_DESERIALIZE(&ds, &p) < 0)
+ if (H5S_SELECT_DESERIALIZE(&ds, &p, SIZE_MAX) < 0)
HGOTO_ERROR(H5E_REFERENCE, H5E_CANTDECODE, NULL, "can't deserialize selection")
ret_value = ds;