Fix printf warning in libmpiwrap.c
commit7b1a2b1edd99f15e23be0d259498247367f1e457
authorMark Wielaard <mark@klomp.org>
Sun, 10 Oct 2021 14:35:37 +0000 (10 16:35 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 10 Oct 2021 14:38:24 +0000 (10 16:38 +0200)
tree96645a7070e913e90172eaac7e3f1e8a8c84f72d
parent4015813336b620f1642d630963327bf484150648
Fix printf warning in libmpiwrap.c

libmpiwrap.c:1379:45: warning: format '%d' expects argument of type 'int',
but argument 5 has type 'MPI_Request' {aka 'struct ompi_request_t *'}

Unfortunately MPI_Request is an opaque type (we don't really know what
is in struct ompi_request_t) so we cannot simply print it as int. In
other places we print an MPI_Request as 0x%lx by casting it to an
unsigned long. Do the same here.
mpi/libmpiwrap.c