Fixed some warnings

As referenced in GitHub issue #83
This commit is contained in:
Phil Nash
2012-05-11 19:05:53 +01:00
parent 15140eacd7
commit 8d69208a58
4 changed files with 8 additions and 6 deletions

View File

@@ -103,7 +103,7 @@ inline std::string toString( unsigned long value ) {
}
inline std::string toString( unsigned int value ) {
return toString( (unsigned long)value );
return toString( static_cast<unsigned long>( value ) );
}
inline std::string toString( const double value ) {