src/Pstream/mpi/UPstream.C: Updated for Int64

Patch contributed by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2055
This commit is contained in:
Henry Weller
2016-04-16 13:26:41 +01:00
parent a8b6ebdb52
commit 2986757793

View File

@ -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<int*>(sendData.begin()),
const_cast<label*>(sendData.begin()),
sizeof(label),
MPI_BYTE,
recvData.begin(),