diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-12-07 19:44:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-12-07 19:44:33 (GMT) |
commit | f725d4d7f75a5e109471eed32f0b08455e446c7d (patch) | |
tree | 2b6018dec560b7056e1b494b8a61e13be2055909 /src/H5Shyper.c | |
parent | 5fd0eb61c8c6b7583606d16db3e77aaad952ae1b (diff) | |
download | hdf5-f725d4d7f75a5e109471eed32f0b08455e446c7d.zip hdf5-f725d4d7f75a5e109471eed32f0b08455e446c7d.tar.gz hdf5-f725d4d7f75a5e109471eed32f0b08455e446c7d.tar.bz2 |
[svn-r1856] 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c index c3f21eb..0e7b9c4 100644 --- a/src/H5Shyper.c +++ b/src/H5Shyper.c @@ -2835,7 +2835,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 */ |