From a3c84b0050764d20f14cd504dafa2efe6eacad18 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Fri, 2 Jul 2004 16:13:28 +0000 Subject: [PATCH] static_cast to eliminate VC++ warnings. --- Cantera/src/zeroD/ReactorBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cantera/src/zeroD/ReactorBase.cpp b/Cantera/src/zeroD/ReactorBase.cpp index c0591a783..bab58dd51 100644 --- a/Cantera/src/zeroD/ReactorBase.cpp +++ b/Cantera/src/zeroD/ReactorBase.cpp @@ -79,7 +79,7 @@ namespace Cantera { } doublereal ReactorBase::residenceTime() { - int nout = m_outlet.size(); + int nout = static_cast(m_outlet.size()); doublereal mout = 0.0; for (int i = 0; i < nout; i++) mout += m_outlet[i]->massFlowRate();