summaryrefslogtreecommitdiffstats
path: root/src/H5Defl.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2023-03-24 23:42:46 (GMT)
committerGitHub <noreply@github.com>2023-03-24 23:42:46 (GMT)
commit43e4e64d886e9072a6075c6369e84c0e273fa44f (patch)
treea65896c37e5af4919e8cb169c2b40c44ad07017e /src/H5Defl.c
parent3fa338013907494ccfe93b8e22d89185a39067ff (diff)
downloadhdf5-43e4e64d886e9072a6075c6369e84c0e273fa44f.zip
hdf5-43e4e64d886e9072a6075c6369e84c0e273fa44f.tar.gz
hdf5-43e4e64d886e9072a6075c6369e84c0e273fa44f.tar.bz2
1 10 revert 2615 (#2629)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5Defl.c')
-rw-r--r--src/H5Defl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Defl.c b/src/H5Defl.c
index 67416ff..ae850a7 100644
--- a/src/H5Defl.c
+++ b/src/H5Defl.c
@@ -254,7 +254,7 @@ H5D__efl_read(const H5O_efl_t *efl, const H5D_t *dset, haddr_t addr, size_t size
/* Check args */
HDassert(efl && efl->nused > 0);
HDassert(H5F_addr_defined(addr));
- HDassert(size < SIZE_MAX);
+ HDassert(size < SIZET_MAX);
HDassert(buf || 0 == size);
/* Find the first efl member from which to read */
@@ -342,7 +342,7 @@ H5D__efl_write(const H5O_efl_t *efl, const H5D_t *dset, haddr_t addr, size_t siz
/* Check args */
HDassert(efl && efl->nused > 0);
HDassert(H5F_addr_defined(addr));
- HDassert(size < SIZE_MAX);
+ HDassert(size < SIZET_MAX);
HDassert(buf || 0 == size);
/* Find the first efl member in which to write */