Skip to content

Commit

Permalink
replaced int with size_t to fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Jul 5, 2020
1 parent 5208d05 commit eb8470b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/adios2/helper/adiosMpiHandshake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const std::vector<std::vector<int>> Handshake(const std::string &filename,
}
}

int dims[3];
size_t dims[3];

if (localRank == 0)
{
Expand All @@ -158,7 +158,7 @@ const std::vector<std::vector<int>> Handshake(const std::string &filename,
}
}

MPI_Bcast(dims, 3, MPI_INT, 0, localComm);
MPI_Bcast(dims, 3, MPI_UNSIGNED_LONG_LONG, 0, localComm);

if (localRank != 0)
{
Expand Down

0 comments on commit eb8470b

Please sign in to comment.