Commit d02e0aa0 authored by Henry Weller's avatar Henry Weller
Browse files

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
parent 2c2a7f5b
......@@ -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(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment