From 3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3 Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Sat, 15 Mar 2003 07:55:29 +0000 Subject: Src/cppunit/CompilerOutputter. src/cppunit/CompilerOutputter.cpp: * src/cppunit/ProtectorChain.cpp: * src/cppunit/StringTools.cpp: * src/cppunit/TestPath.cpp: * src/cppunit/TypeInfoHelper.cpp: * src/cppunit/XmlElement.cpp: * src/cppunit/XmlOutputter.cpp: switched to using unsigned index in loop to avoid signed/unsigned warning in vc7. * include/cppunit/extension/ExceptionTestCaseDecorator.h: removed dll export on template (caused link error on vc7). --- src/cppunit/XmlElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cppunit/XmlElement.cpp') diff --git a/src/cppunit/XmlElement.cpp b/src/cppunit/XmlElement.cpp index cdaaa69..773df8a 100644 --- a/src/cppunit/XmlElement.cpp +++ b/src/cppunit/XmlElement.cpp @@ -193,7 +193,7 @@ std::string XmlElement::escape( std::string value ) const { std::string escaped; - for ( int index =0; index < value.length(); ++index ) + for ( unsigned int index =0; index < value.length(); ++index ) { char c = value[index ]; switch ( c ) // escape all predefined XML entity (safe?) -- cgit v1.2.1