From 961dc9a9720d7c62de516a356a3790ad12c2c89a Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 1 Jul 2004 23:12:44 +0000 Subject: [PATCH] Added static_cast to remove VC++ compiler warning. --- Cantera/src/xml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cantera/src/xml.h b/Cantera/src/xml.h index 5f0654141..d9fc544da 100755 --- a/Cantera/src/xml.h +++ b/Cantera/src/xml.h @@ -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(name.size()); string nm(name); for (int m = 0; m < ns; m++) if (name[m] == ' '