Skip to content

Commit

Permalink
fix more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed May 3, 2022
1 parent 6fc75c8 commit 7a1096c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/adios2/engine/ssc/SscReaderGeneric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ SscReaderGeneric::BlocksInfo(const VariableStruct &variable,
{
std::vector<VariableStruct::BPInfo> ret;
size_t blockID = 0;
for (int i = 0; i < m_GlobalWritePattern.size(); ++i)
for (int i = 0; i < static_cast<int>(m_GlobalWritePattern.size()); ++i)
{
for (auto &v : m_GlobalWritePattern[i])
{
Expand Down
2 changes: 1 addition & 1 deletion source/adios2/engine/ssc/SscReaderGeneric.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SscReaderGeneric::BlocksInfoCommon(const Variable<T> &variable,
{
std::vector<typename Variable<T>::BPInfo> ret;
size_t blockID = 0;
for (int i = 0; i < m_GlobalWritePattern.size(); ++i)
for (int i = 0; i < static_cast<int>(m_GlobalWritePattern.size()); ++i)
{
for (auto &v : m_GlobalWritePattern[i])
{
Expand Down

0 comments on commit 7a1096c

Please sign in to comment.