mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r4650] Purpose:
Bug fix Description: Fix another typo from today's big "overflow" commit. Platforms tested: Solaris 2.6 (baldric)
This commit is contained in:
parent
25aa2b6938
commit
fad0ffac14
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user