diff --git a/src/Pstream/mpi/UPstream.C b/src/Pstream/mpi/UPstream.C index 1ba7dfbe33..4e105aa767 100644 --- a/src/Pstream/mpi/UPstream.C +++ b/src/Pstream/mpi/UPstream.C @@ -326,7 +326,7 @@ void Foam::UPstream::allToAll ( // NOTE: const_cast is a temporary hack for // backward-compatibility with versions of OpenMPI < 1.7.4 - const_cast(sendData.begin()), + const_cast(sendData.begin()), sizeof(label), MPI_BYTE, recvData.begin(),