static cast added to avoid VC++ compiler warning.

This commit is contained in:
Harry Moffat 2004-07-01 23:26:00 +00:00
parent db9f2b1b87
commit f2c6297f24

View file

@ -526,7 +526,7 @@ namespace Cantera {
XML_Node* doc = get_XML_File(element_database);
XML_Node* dbe = &doc->child("ctml/elementData");
int nel = enames.size();
int nel = static_cast<int>(enames.size());
int i;
string enm;
for (i = 0; i < nel; i++) {