static_cast to eliminate VC++ warnings.
This commit is contained in:
parent
b6ee6372a1
commit
a3c84b0050
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ namespace Cantera {
|
|||
}
|
||||
|
||||
doublereal ReactorBase::residenceTime() {
|
||||
int nout = m_outlet.size();
|
||||
int nout = static_cast<int>(m_outlet.size());
|
||||
doublereal mout = 0.0;
|
||||
for (int i = 0; i < nout; i++)
|
||||
mout += m_outlet[i]->massFlowRate();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue