Skip to content

Commit

Permalink
warnings: type mismatch between MPI_Aint and uintptr_t
Browse files Browse the repository at this point in the history
PGI compilers warns: Type case required for this conversion.
Sun compilers warns: argument #7 is incompatible with prototype.
  • Loading branch information
hzhou committed May 16, 2020
1 parent 8e12451 commit 04173db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpid/ch4/generic/gpu/mpidig_gpu_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MPL_STATIC_INLINE_PREFIX void MPIDIG_gpu_stage_copy_d2h(const void *sbuf, void *
size_t size;
MPIR_Datatype_get_size_macro(datatype, size);

uintptr_t actual_pack_bytes;
MPI_Aint actual_pack_bytes;
MPIR_Typerep_pack(sbuf, count, datatype, 0, dbuf, count * size, &actual_pack_bytes);
MPIR_Assert(actual_pack_bytes == count * size);
}
Expand Down

0 comments on commit 04173db

Please sign in to comment.