diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-11-27 18:35:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-11-27 18:35:01 (GMT) |
commit | fad0ffac14d573494ecfbd3ce10c2d2cd9028a10 (patch) | |
tree | 6c3e314549277204c06eeb4c5172ea6a2abc178f | |
parent | 25aa2b69383b9ce72d32d2d21b8a6365dcf81c73 (diff) | |
download | hdf5-fad0ffac14d573494ecfbd3ce10c2d2cd9028a10.zip hdf5-fad0ffac14d573494ecfbd3ce10c2d2cd9028a10.tar.gz hdf5-fad0ffac14d573494ecfbd3ce10c2d2cd9028a10.tar.bz2 |
[svn-r4650] Purpose:
Bug fix
Description:
Fix another typo from today's big "overflow" commit.
Platforms tested:
Solaris 2.6 (baldric)
-rw-r--r-- | src/H5FD.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2069,7 +2069,7 @@ H5FD_read(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t siz H5_CHECK_OVERFLOW(tempamount_read,hsize_t,size_t); amount_read = MIN(size, (size_t)tempamount_read); #else /* NDEBUG */ - amount_read = MIN(size, (size_t)tempamount_read); + amount_read = MIN(size, (size_t)(file->accum_size-read_off)); #endif /* NDEBUG */ /* Copy the data out of the buffer */ |