Added a static_cast.

This commit is contained in:
Harry Moffat 2004-11-15 20:52:44 +00:00
parent af6b3b8765
commit dee6810c6f

View file

@ -789,7 +789,7 @@ extern "C" {
Kinetics* k = kin(n);
ThermoPhase* p = &k->thermo();
const vector_fp& mw = p->molecularWeights();
int nsp = mw.size();
int nsp = static_cast<int>(mw.size());
double rrho = 1.0/p->density();
if (len >= nsp) {
k->getNetProductionRates(ydot);