1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Use correct format specifier.

This commit is contained in:
Bartosz Taudul 2020-01-28 22:01:39 +01:00
parent 7b0483dc16
commit a218ca4412

View File

@ -352,7 +352,7 @@ Worker::Worker( const std::string& program, const std::vector<ImportEventTimelin
for( auto& t : m_threadMap )
{
char buf[64];
sprintf( buf, "%i", t.first );
sprintf( buf, "%" PRIu64, t.first );
AddThreadString( t.first, buf, strlen( buf ) );
}