summaryrefslogtreecommitdiff
path: root/src/cppunit/XmlElement.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2003-03-15 07:55:29 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2003-03-15 07:55:29 +0000
commit3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3 (patch)
tree1019aa01a2632535be2efa91738338eceebb61dc /src/cppunit/XmlElement.cpp
parent97bf50c5b400b6304511286580c8ee160629a8a5 (diff)
downloadcppunit-3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3.tar.gz
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).
Diffstat (limited to 'src/cppunit/XmlElement.cpp')
-rw-r--r--src/cppunit/XmlElement.cpp2
1 files changed, 1 insertions, 1 deletions
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?)