Skip to content

Commit

Permalink
the third try to pass the windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Jul 5, 2020
1 parent 980c0e0 commit f574d77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/adios2/helper/adiosMpiHandshake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ const std::vector<std::vector<int>> Handshake(const std::string &filename,

for (int i = 0; i < 3; ++i)
{
MPI_Bcast(ret[i].data(), ret[i].size(), MPI_INT, 0, localComm);
MPI_Bcast(ret[i].data(), static_cast<int>(ret[i].size()), MPI_INT, 0,
localComm);
}

return ret;
Expand Down

0 comments on commit f574d77

Please sign in to comment.