summaryrefslogtreecommitdiff
path: root/src/cppunit/CompilerOutputter.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/CompilerOutputter.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/CompilerOutputter.cpp')
-rw-r--r--src/cppunit/CompilerOutputter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppunit/CompilerOutputter.cpp b/src/cppunit/CompilerOutputter.cpp
index 67faf6a..790481a 100644
--- a/src/cppunit/CompilerOutputter.cpp
+++ b/src/cppunit/CompilerOutputter.cpp
@@ -97,7 +97,7 @@ CompilerOutputter::printFailureLocation( SourceLine sourceLine )
}
std::string location;
- for ( int index = 0; index < m_locationFormat.length(); ++index )
+ for ( unsigned int index = 0; index < m_locationFormat.length(); ++index )
{
char c = m_locationFormat[ index ];
if ( c == '%' && ( index+1 < m_locationFormat.length() ) )