summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-12-07 19:46:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-12-07 19:46:10 (GMT)
commita5a5519d02e6a5067616c79d6c38e606e36a95a6 (patch)
treebbe7d2bde2dd49751e6a5f2042d1ad77147f0948 /src/H5Shyper.c
parentac4430b2604ba5948b1460b294a423d1ad544215 (diff)
downloadhdf5-a5a5519d02e6a5067616c79d6c38e606e36a95a6.zip
hdf5-a5a5519d02e6a5067616c79d6c38e606e36a95a6.tar.gz
hdf5-a5a5519d02e6a5067616c79d6c38e606e36a95a6.tar.bz2
[svn-r1857] Fixed error in decoding hyperslab regions for dataset region references.
Data is ok in the file, just mixed up when trying to dereference the region.
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 18204f9..5be59dc 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -2853,7 +2853,7 @@ H5S_hyper_select_deserialize (H5S_t *space, const uint8_t *buf)
UINT32DECODE(buf, *tcount);
/* Change the ending points into counts */
- for(tcount=count,tstart=start,j=0; j<(unsigned)rank; j++,tcount++)
+ for(tcount=count,tstart=start,j=0; j<(unsigned)rank; j++,tcount++,tstart++)
*tcount=(*tcount-*tstart)+1;
/* Select or add the hyperslab to the current selection */