From eb783df5a950a7e95c4dbc1b16582665d7073a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20R=2E=20Brodtkorb?= Date: Tue, 30 Jun 2015 14:37:45 +0200 Subject: [PATCH] Changed int to size_t --- opm/parser/eclipse/EclipseState/Tables/VFPProdTable.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/parser/eclipse/EclipseState/Tables/VFPProdTable.cpp b/opm/parser/eclipse/EclipseState/Tables/VFPProdTable.cpp index 1df70a064..fc7060813 100644 --- a/opm/parser/eclipse/EclipseState/Tables/VFPProdTable.cpp +++ b/opm/parser/eclipse/EclipseState/Tables/VFPProdTable.cpp @@ -206,7 +206,7 @@ void VFPProdTable::init(DeckKeywordConstPtr table, std::shared_ptrparse("Pressure")->getSIScaling(); - for (int i=6; isize(); ++i) { + for (size_t i=6; isize(); ++i) { const auto& record = table->getRecord(i); //Get indices (subtract 1 to get 0-based index) int t = getNonEmptyItem(record)->getInt(0) - 1; @@ -221,7 +221,7 @@ void VFPProdTable::init(DeckKeywordConstPtr table, std::shared_ptr& values, return; } else { - for (unsigned int i=0; i