mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Convert std::string to const char* in printf call.
This commit is contained in:
parent
754f7a5167
commit
5d7cf137cf
@ -5364,7 +5364,7 @@ void SourceView::Save( const Worker& worker, size_t start, size_t stop )
|
||||
if( sz < 5 || memcmp( fn.c_str() + sz - 4, ".asm", 4 ) != 0 )
|
||||
{
|
||||
char tmp[1024];
|
||||
sprintf( tmp, "%s.asm", fn );
|
||||
sprintf( tmp, "%s.asm", fn.c_str() );
|
||||
f = fopen( tmp, "wb" );
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user