summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 */