summaryrefslogtreecommitdiffstats
path: root/src/H5Dio.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2018-04-30 22:04:45 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2018-04-30 22:04:45 (GMT)
commit4fe4394c5856336345efd2e7293d703c9bfc6d1b (patch)
treeb4da478b2ea9149ffcde504bd0f88d7b24ecfdbe /src/H5Dio.c
parent27f2a961f19c8922a0c35061c1b2dae33fbcc5fc (diff)
downloadhdf5-4fe4394c5856336345efd2e7293d703c9bfc6d1b.zip
hdf5-4fe4394c5856336345efd2e7293d703c9bfc6d1b.tar.gz
hdf5-4fe4394c5856336345efd2e7293d703c9bfc6d1b.tar.bz2
Fixed a warning.
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r--src/H5Dio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index 6dec5b0..b1117e9 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -410,7 +410,7 @@ H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *of
internal_offset[dset->shared->ndims] = 0;
/* Write chunk */
- if (H5D__chunk_direct_write(dset, filters, internal_offset, data_size, buf) < 0)
+ if (H5D__chunk_direct_write(dset, filters, internal_offset, data_size_32, buf) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_WRITEERROR, FAIL, "can't write unprocessed chunk data")
done: