Added static_cast to remove VC++ compiler warning.

This commit is contained in:
Harry Moffat 2004-07-01 23:12:44 +00:00
parent ffc6b4c48b
commit 961dc9a972

View file

@ -193,7 +193,7 @@ namespace Cantera {
ostream& output() { return m_s; }
inline string XML_filter(string name) {
int ns = name.size();
int ns = static_cast<int>(name.size());
string nm(name);
for (int m = 0; m < ns; m++)
if (name[m] == ' '