summaryrefslogtreecommitdiffstats
path: root/src/H5Dfill.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-07-17 03:18:26 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-07-17 03:18:26 (GMT)
commit8b6cd7cfddf91308cf860f2da3d28e208fd89788 (patch)
tree9ddfe80514742123b191b1b38ec0d885ff819e63 /src/H5Dfill.c
parent1ecb6ec9c5075a97572d06a1f509cd763be2bc94 (diff)
parent02762e8244741b9ff1f9203788e7237f53cf8d96 (diff)
downloadhdf5-8b6cd7cfddf91308cf860f2da3d28e208fd89788.zip
hdf5-8b6cd7cfddf91308cf860f2da3d28e208fd89788.tar.gz
hdf5-8b6cd7cfddf91308cf860f2da3d28e208fd89788.tar.bz2
Merge pull request #2699 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_merge to hdf5_1_10
* commit '02762e8244741b9ff1f9203788e7237f53cf8d96': Merge of dataspace improvements from develop.
Diffstat (limited to 'src/H5Dfill.c')
-rw-r--r--src/H5Dfill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dfill.c b/src/H5Dfill.c
index e67926c..94c7b1c 100644
--- a/src/H5Dfill.c
+++ b/src/H5Dfill.c
@@ -275,12 +275,12 @@ H5D__fill(const void *fill, const H5T_t *fill_type, void *buf,
HGOTO_ERROR(H5E_DATASET, H5E_CANTALLOC, FAIL, "can't allocate memory selection iterator")
/* Create a selection iterator for scattering the elements to memory buffer */
- if(H5S_select_iter_init(mem_iter, space, dst_type_size) < 0)
+ if(H5S_select_iter_init(mem_iter, space, dst_type_size, 0) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to initialize memory selection information")
mem_iter_init = TRUE;
/* Scatter the data into memory */
- if(H5D__scatter_mem(tmp_buf, space, mem_iter, (size_t)nelmts, buf/*out*/) < 0)
+ if(H5D__scatter_mem(tmp_buf, mem_iter, (size_t)nelmts, buf/*out*/) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_READERROR, FAIL, "scatter failed")
} /* end if */
else {