summaryrefslogtreecommitdiffstats
path: root/src/H5Dfill.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2019-03-16 01:14:41 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2019-03-16 01:14:41 (GMT)
commit9d86314f8b71f090b71d7edec8014935f5cd3cc7 (patch)
tree26422b8cc0217bf579594dd1a7a8ec011a5cb5c6 /src/H5Dfill.c
parent07baf44a86de400c170006557e7595ea6ba9c20a (diff)
downloadhdf5-9d86314f8b71f090b71d7edec8014935f5cd3cc7.zip
hdf5-9d86314f8b71f090b71d7edec8014935f5cd3cc7.tar.gz
hdf5-9d86314f8b71f090b71d7edec8014935f5cd3cc7.tar.bz2
Core changes to selection code from the hyperslab_updates branch.
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 619f699..61ce822 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 {