mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Use proper type.
This commit is contained in:
parent
facb05f8cb
commit
47943d6a86
@ -1532,7 +1532,7 @@ void Profiler::SendCallstack( int depth, uint64_t thread, const char* skipBefore
|
|||||||
auto ptr = Callstack( depth );
|
auto ptr = Callstack( depth );
|
||||||
auto data = (uintptr_t*)ptr;
|
auto data = (uintptr_t*)ptr;
|
||||||
const auto sz = *data++;
|
const auto sz = *data++;
|
||||||
int i;
|
uintptr_t i;
|
||||||
for( i=0; i<sz; i++ )
|
for( i=0; i<sz; i++ )
|
||||||
{
|
{
|
||||||
auto frame = DecodeCallstackPtr( uint64_t( data[i] ) );
|
auto frame = DecodeCallstackPtr( uint64_t( data[i] ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user