summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2015-05-06 19:47:45 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2015-05-06 19:47:45 (GMT)
commit0c49a918c4fc842edeb53fc98c30bf2a89200470 (patch)
treed03465ad7111f147f714c697dac1f0d66aaf5d44 /src/H5Shyper.c
parentbc6873d3bdf0457805a1bcc0ac35478f0f013a74 (diff)
downloadhdf5-0c49a918c4fc842edeb53fc98c30bf2a89200470.zip
hdf5-0c49a918c4fc842edeb53fc98c30bf2a89200470.tar.gz
hdf5-0c49a918c4fc842edeb53fc98c30bf2a89200470.tar.bz2
[svn-r27028] Merge revisions 26305 through 26780 from trunk to vds branch.
Tested: ummon
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 5667cbd..e177d7d 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -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]));