diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-01-25 06:20:28 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-01-25 06:20:28 (GMT) |
commit | 0247f7b78d056b04fa08f74a2d4c4eea37f48d22 (patch) | |
tree | 00b89cfd88016cd1d93ae75060dfc3299cbd7967 /test/direct_chunk.c | |
parent | 51e0107d18c4ccdc61689c2dc6cc8bbf35edeaab (diff) | |
parent | 2fe69e7639198b174da393e47a029d0ac35b31c8 (diff) | |
download | hdf5-0247f7b78d056b04fa08f74a2d4c4eea37f48d22.zip hdf5-0247f7b78d056b04fa08f74a2d4c4eea37f48d22.tar.gz hdf5-0247f7b78d056b04fa08f74a2d4c4eea37f48d22.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_fixbug into develop
Diffstat (limited to 'test/direct_chunk.c')
-rw-r--r-- | test/direct_chunk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/direct_chunk.c b/test/direct_chunk.c index 2ef38ea..2edfe64 100644 --- a/test/direct_chunk.c +++ b/test/direct_chunk.c @@ -1910,10 +1910,10 @@ test_read_unallocated_chunk (hid_t file) goto error; /* Write a single chunk to intialize the chunk storage */ - HDmemset(&chunk_dims, 0, sizeof(chunk_dims)); + HDmemset(direct_buf, 0, CHUNK_NX * CHUNK_NY * sizeof(int)); offset[0] = 0; offset[1] = 0; - if(H5Dwrite_chunk(dataset, dxpl, filter_mask, offset, chunk_nbytes, &chunk_dims) < 0) + if(H5Dwrite_chunk(dataset, dxpl, filter_mask, offset, chunk_nbytes, direct_buf) < 0) goto error; /* Attempt to read each chunk in the dataset. Chunks are not allocated, |