summaryrefslogtreecommitdiffstats
path: root/src/H5Dmpio.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2017-02-03 19:42:49 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2017-02-03 19:42:49 (GMT)
commit09469dfd55cacb0242e1d7a181500ef08c83743e (patch)
tree69f0d1243cfb44d942b2730dfb4eabdfc3178316 /src/H5Dmpio.c
parentb458565918a878d84d619ecbfce917102945ead0 (diff)
downloadhdf5-09469dfd55cacb0242e1d7a181500ef08c83743e.zip
hdf5-09469dfd55cacb0242e1d7a181500ef08c83743e.tar.gz
hdf5-09469dfd55cacb0242e1d7a181500ef08c83743e.tar.bz2
Iterator for initial chunk entry IO operation should use source datatype
size
Diffstat (limited to 'src/H5Dmpio.c')
-rw-r--r--src/H5Dmpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dmpio.c b/src/H5Dmpio.c
index 20b6d08..9cb69d9 100644
--- a/src/H5Dmpio.c
+++ b/src/H5Dmpio.c
@@ -3221,7 +3221,7 @@ H5D__filtered_collective_chunk_entry_io(H5D_filtered_collective_io_info_t *chunk
HGOTO_ERROR(H5E_DATASET, H5E_CANTALLOC, FAIL, "couldn't allocate memory iterator")
/* XXX: dst_type_size may need to be src_type_size depending on operation */
- if (H5S_select_iter_init(mem_iter, chunk_entry->chunk_info.mspace, type_info->dst_type_size) < 0)
+ if (H5S_select_iter_init(mem_iter, chunk_entry->chunk_info.mspace, type_info->src_type_size) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to initialize memory selection information")
mem_iter_init = TRUE;