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/StringTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cppunit/StringTools.cpp') diff --git a/src/cppunit/StringTools.cpp b/src/cppunit/StringTools.cpp index 46abd4a..2f77d24 100644 --- a/src/cppunit/StringTools.cpp +++ b/src/cppunit/StringTools.cpp @@ -60,7 +60,7 @@ StringTools::wrap( const std::string &text, wrapped += lineBreak; const std::string &line = *it; - int index =0; + unsigned int index =0; while ( index < line.length() ) { std::string lineSlice( line.substr( index, wrapColumn ) ); -- cgit v1.2.1