static_cast to eliminate VC++ warning message.

This commit is contained in:
Harry Moffat 2004-07-02 14:45:19 +00:00
parent 71a9fc7bb8
commit 5baeb9f363

View file

@ -46,7 +46,7 @@ namespace Cantera {
: FuncEval(), m_nv(0), m_integ(0),
m_atol(1.e-14), m_rtol(1.e-7), m_maxstep(0.0)
{
m_nsurf = k.size();
m_nsurf = static_cast<int>(k.size());
int ns;
int nt, ntmax = 0;
for (int n = 0; n < m_nsurf; n++) {