diff --git a/src/PylogFormatter.h b/src/PylogFormatter.h
index f2d72ea041449ed697ac9a7a95b8b9ee83d6847c..94dba050c6be1f3598b33e622437dc120ba0f684 100644 (file)
--- a/src/PylogFormatter.h
+++ b/src/PylogFormatter.h
#ifndef PYLOG_FORMATTER_H_SEEN
#define PYLOG_FORMATTER_H_SEEN
+#include <cstring>
#include <cxxtest/Flags.h>
#ifndef _CXXTEST_HAVE_STD
virtual void leaveWorld( const WorldDescription & desc )
{
+ using std::strlen;
unsigned int skippedCount = 0;
unsigned int failedCount = 0;
unsigned int warnedCount = 0;
(*_o) << test.suiteName() << "_|_" << test.testName();
(*_o) << " ";
- int sent = strlen( test.suiteName() ) + strlen( test.testName() ) + 1;
- for ( int z = sent; z < 56; z++ ) {
+ unsigned const sent = strlen( test.suiteName() ) + strlen( test.testName() ) + 1;
+ for ( unsigned z = sent; z < 56; z++ ) {
(*_o) << " ";
}
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
#endif // PYLOG_FORMATTER_H_SEEN