forked from boostorg/assert
sprintf line() and column() as unsigned long
This commit is contained in:
@ -72,12 +72,12 @@ public:
|
||||
|
||||
char buffer[ 16 ];
|
||||
|
||||
std::sprintf( buffer, ":%ld", static_cast<long>( line() ) );
|
||||
std::sprintf( buffer, ":%lu", static_cast<unsigned long>( line() ) );
|
||||
r += buffer;
|
||||
|
||||
if( column() )
|
||||
{
|
||||
std::sprintf( buffer, ":%ld", static_cast<long>( column() ) );
|
||||
std::sprintf( buffer, ":%lu", static_cast<unsigned long>( column() ) );
|
||||
r += buffer;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user