Commit 9d783132 authored by COULAUD Olivier's avatar COULAUD Olivier

Remove compilation warning

parent c7e4bebb
......@@ -381,7 +381,7 @@ public:
if(idxPack != 0) FAssertLF(packsToSend[idxPack].elementFrom == packsToSend[idxPack-1].elementTo);
FAssertLF(FSize(pack.elementTo) <= FSize(currentNbParts));
FAssertLF(pack.elementFrom <= pack.elementTo);
const long long int nbPartsPerPackToSend = leavesOffsetInParticles[pack.elementTo]-leavesOffsetInParticles[pack.elementFrom];
long long int nbPartsPerPackToSend = leavesOffsetInParticles[pack.elementTo]-leavesOffsetInParticles[pack.elementFrom];
totalSend += nbPartsPerPackToSend;
if(pack.idProc != myRank && 0 < (pack.elementTo-pack.elementFrom)){
......@@ -390,7 +390,7 @@ public:
<< " from " << pack.elementFrom << " to " << pack.elementTo << " \n"; FLog::Controller.flush(); );
// Send the size of the data
requestsNbParts.emplace_back();
FMpi::MpiAssert(MPI_Isend((void*)&nbPartsPerPackToSend,1,MPI_LONG_LONG_INT,pack.idProc,
FMpi::MpiAssert(MPI_Isend(static_cast<void*>(&nbPartsPerPackToSend),1,MPI_LONG_LONG_INT,pack.idProc,
FMpi::TagExchangeIndexs, communicator.getComm(), &requestsNbParts.back()),__LINE__);
}
......
Markdown is supported
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