quell signed/unsigned comparison warning

This commit is contained in:
Arne Morten Kvarving 2020-03-30 12:33:20 +02:00
parent 0025144079
commit 83d1627dbb

View File

@ -105,7 +105,7 @@ RstConnection::RstConnection(const ::Opm::UnitSystem& unit_system, std::size_t r
that value will be lost when loading back from a restart file.
*/
{
if (nsconz > VI::SConn::CFInDeck)
if (static_cast<std::size_t>(nsconz) > VI::SConn::CFInDeck)
this->cf_kind = from_float(scon[VI::SConn::CFInDeck]);
}