[svn-r27028] Merge revisions 26305 through 26780 from trunk to vds branch.

Tested: ummon
This commit is contained in:
Neil Fortner 2015-05-06 14:47:45 -05:00
parent bc6873d3bd
commit 0c49a918c4

View File

@ -9607,7 +9607,7 @@ H5S_hyper_clip_unlim(H5S_t *space, hsize_t clip_size)
/* Calculate actual block size for this clip size */
hslab->opt_diminfo[hslab->unlim_dim].block =
(hsize_t)((hssize_t)space->extent.size[hslab->unlim_dim]
(hsize_t)((hssize_t)clip_size
- ((hssize_t)hslab->opt_diminfo[hslab->unlim_dim].start
+ space->select.offset[hslab->unlim_dim]));