summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorvchoi-hdfgroup <55293060+vchoi-hdfgroup@users.noreply.github.com>2023-10-10 15:13:00 (GMT)
committerGitHub <noreply@github.com>2023-10-10 15:13:00 (GMT)
commit6f56d06f6af371b8b8c58079d8200647df249ee2 (patch)
treed186547850972529f3238c4c6fa7d10623f1ecaa /src
parentbfbfaf72e17fcc9efa848557a0c57c0583d5c8c4 (diff)
downloadhdf5-6f56d06f6af371b8b8c58079d8200647df249ee2.zip
hdf5-6f56d06f6af371b8b8c58079d8200647df249ee2.tar.gz
hdf5-6f56d06f6af371b8b8c58079d8200647df249ee2.tar.bz2
Add more tests for selection I/O. (#3528)
Diffstat (limited to 'src')
-rw-r--r--src/H5Dscatgath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dscatgath.c b/src/H5Dscatgath.c
index f0a0b9d..9b60d81 100644
--- a/src/H5Dscatgath.c
+++ b/src/H5Dscatgath.c
@@ -718,7 +718,7 @@ H5D__scatgath_write(const H5D_io_info_t *io_info, const H5D_dset_io_info_t *dset
/* Use "vp" field of union to twiddle away const. OK because if we're doing this it means the
* user explicitly allowed us to modify this buffer via H5Pset_modify_write_buf(). */
tmp_buf = (uint8_t *)dset_info->buf.vp + dset_info->layout_io_info.contig_piece_info->buf_off +
- (smine_start * dset_info->type_info.dst_type_size);
+ (smine_start * dset_info->type_info.src_type_size);
}
else {
/* Do type conversion using intermediate buffer */