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/CompilerOutputter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cppunit/CompilerOutputter.cpp') 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() ) ) -- cgit v1.2.1