summaryrefslogtreecommitdiffstats
path: root/test/dectris_tst.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dectris_tst.c')
-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);