mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Cast void* to char*.
This commit is contained in:
parent
3a7ed53c5c
commit
49f1277e55
@ -318,18 +318,18 @@ static int FastCallstackDataCb( void* data, uintptr_t pc, const char* fn, int li
|
||||
{
|
||||
if( function )
|
||||
{
|
||||
strcpy( data, function );
|
||||
strcpy( (char*)data, function );
|
||||
}
|
||||
else
|
||||
{
|
||||
*data = '\0';
|
||||
*(char*)data = '\0';
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void FastCallstackErrorCb( void* data, const char* /*msg*/, int /*errnum*/ )
|
||||
{
|
||||
*data = '\0';
|
||||
*(char*)data = '\0';
|
||||
}
|
||||
|
||||
const char* DecodeCallstackPtrFast( uint64_t ptr )
|
||||
|
Loading…
Reference in New Issue
Block a user