summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2012-08-09 20:24:56 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2012-08-09 20:24:56 (GMT)
commit527a6edb3ef6cc698efb3ddfb41279541fee0602 (patch)
treefbf9942017afe1e55f6d7cf644277ec27bb2a38a /test
parent3b3ae10c5b7a54a64c92b321d53cfe3b00c6584d (diff)
downloadhdf5-527a6edb3ef6cc698efb3ddfb41279541fee0602.zip
hdf5-527a6edb3ef6cc698efb3ddfb41279541fee0602.tar.gz
hdf5-527a6edb3ef6cc698efb3ddfb41279541fee0602.tar.bz2
[svn-r22655] Dectris project - I changed the rank of the offset for H5PSIdirect_write from RANK+1 to RANK. But internally, it expands to RANK+1 as
the library requires it to terminate with a zero. Tested on koala.
Diffstat (limited to 'test')
-rw-r--r--test/dectris_tst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dectris_tst.c b/test/dectris_tst.c
index 56d58ab..ccc4310 100644
--- a/test/dectris_tst.c
+++ b/test/dectris_tst.c
@@ -58,7 +58,7 @@ main (void)
unsigned filter_mask = 0;
int direct_buf[CHUNK_NX][CHUNK_NY];
int check_chunk[CHUNK_NX][CHUNK_NY];
- hsize_t offset[3] = {0, 0, 0};
+ hsize_t offset[2] = {0, 0};
size_t buf_size = CHUNK_NX*CHUNK_NY*sizeof(int);
const Bytef *z_src = (const Bytef*)(direct_buf);