Commit 30fc08e1 authored by Antonio J. Pena's avatar Antonio J. Pena
Browse files

Fix warnings in mpidrma.h when compiling with pgcc



Fixes the following warnings:

PGC-W-0095-Type cast required for this conversion
(./src/mpid/ch3/include/mpidrma.h: 703)

PGC-W-0095-Type cast required for this conversion
(./src/mpid/ch3/include/mpidrma.h: 864)
Signed-off-by: default avatarWesley Bland <wbland@mcs.anl.gov>
parent 6363c2aa
......@@ -700,7 +700,7 @@ static inline int MPIDI_CH3I_Shm_acc_op(const void *origin_addr, int origin_coun
MPID_Segment_pack_vector(segp, first, &last, dloop_vec, &vec_len);
source_buf = (tmp_buf != NULL) ? tmp_buf : origin_addr;
source_buf = (tmp_buf != NULL) ? (const void *)tmp_buf : origin_addr;
target_buf = (char *) base + disp_unit * target_disp;
type = dtp->eltype;
type_size = MPID_Datatype_get_basic_size(type);
......@@ -861,7 +861,7 @@ static inline int MPIDI_CH3I_Shm_get_acc_op(const void *origin_addr, int origin_
MPID_Segment_pack_vector(segp, first, &last, dloop_vec, &vec_len);
source_buf = (tmp_buf != NULL) ? tmp_buf : origin_addr;
source_buf = (tmp_buf != NULL) ? (const void *)tmp_buf : origin_addr;
target_buf = (char *) base + disp_unit * target_disp;
type = dtp->eltype;
type_size = MPID_Datatype_get_basic_size(type);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment