diff --git a/src/communicator/comm_cid.c b/src/communicator/comm_cid.c index e5c821ffa0..092bddf9c1 100644 --- a/src/communicator/comm_cid.c +++ b/src/communicator/comm_cid.c @@ -623,7 +623,7 @@ static int ompi_comm_allreduce_intra_oob (int *inbuf, int *outbuf, local_rank = ompi_comm_rank ( comm ); - tmpbuf = (int *) malloc ( count * sizeof(int32_t)); + tmpbuf = (int *) malloc ( count * sizeof(int)); if ( NULL == tmpbuf ) { return MPI_ERR_INTERN; }