Skip to content

Commit 995944e

Browse files
markalleggouaillardet
authored andcommitted
[mpich romio ad0e435] romio fix when used in -Wpedantic build environments
> Pulled in from mpich romio, branch "main". > Their commit message is below. > > This is part of a batch of commits from the > following set of PRs: > * pmodels/mpich#4943 > -- darray fix which contains a flatten fix > 73a3eba > c4b5762 > * pmodels/mpich#4995 > -- write strided fix > bbb5210 > * pmodels/mpich#5100 > -- build fix for -Wpedantic > ad0e435 > * pmodels/mpich#5099 > -- build fix, they had let file-system=...gpfs bit rot > e1d42af > 313289a > 83bbb82 > * pmodels/mpich#5150 > -- build fix, configure-related _GNU_SOURCE > a712b56 > 5a036e7 > * pmodels/mpich#5184 > -- build fix, continuation of _GNU_SOURCE fix > d97c4ee typecasting a (void*) due to compiler complaint when -Wpedantic is used Signed-off-by: Mark Allen <markalle@us.ibm.com>
1 parent c814914 commit 995944e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3rd-party/romio341/adio/ad_gpfs/ad_gpfs_wrcoll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ static void ADIOI_W_Exchange_data_alltoallv(ADIO_File fd, const void *buf, char
15411541
for (i = 0; i < nprocs; i++) {
15421542
if (send_size[i]) {
15431543
sbuf_ptr = all_send_buf + sdispls[i];
1544-
memcpy(sbuf_ptr, buf + buf_idx[i], send_size[i]);
1544+
memcpy(sbuf_ptr, (char *) buf + buf_idx[i], send_size[i]);
15451545
buf_idx[i] += send_size[i];
15461546
}
15471547
}

0 commit comments

Comments
 (0)