From 7a1096c40133333a8db160fed0fb0058cb956d4a Mon Sep 17 00:00:00 2001 From: Jason Wang Date: Tue, 3 May 2022 18:35:15 -0400 Subject: [PATCH] fix more warnings --- source/adios2/engine/ssc/SscReaderGeneric.cpp | 2 +- source/adios2/engine/ssc/SscReaderGeneric.tcc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/adios2/engine/ssc/SscReaderGeneric.cpp b/source/adios2/engine/ssc/SscReaderGeneric.cpp index 1df8cf56bc..4250826d5b 100644 --- a/source/adios2/engine/ssc/SscReaderGeneric.cpp +++ b/source/adios2/engine/ssc/SscReaderGeneric.cpp @@ -576,7 +576,7 @@ SscReaderGeneric::BlocksInfo(const VariableStruct &variable, { std::vector ret; size_t blockID = 0; - for (int i = 0; i < m_GlobalWritePattern.size(); ++i) + for (int i = 0; i < static_cast(m_GlobalWritePattern.size()); ++i) { for (auto &v : m_GlobalWritePattern[i]) { diff --git a/source/adios2/engine/ssc/SscReaderGeneric.tcc b/source/adios2/engine/ssc/SscReaderGeneric.tcc index dcdefc50be..cdaae5a54c 100644 --- a/source/adios2/engine/ssc/SscReaderGeneric.tcc +++ b/source/adios2/engine/ssc/SscReaderGeneric.tcc @@ -30,7 +30,7 @@ SscReaderGeneric::BlocksInfoCommon(const Variable &variable, { std::vector::BPInfo> ret; size_t blockID = 0; - for (int i = 0; i < m_GlobalWritePattern.size(); ++i) + for (int i = 0; i < static_cast(m_GlobalWritePattern.size()); ++i) { for (auto &v : m_GlobalWritePattern[i]) {