[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:
Quincey Koziol 2001-11-27 13:35:01 -05:00
parent 25aa2b6938
commit fad0ffac14

View File

@ -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 */