From a5a5519d02e6a5067616c79d6c38e606e36a95a6 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Tue, 7 Dec 1999 14:46:10 -0500 Subject: [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. --- src/H5Shyper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12