diff --git a/server/TracyView.cpp b/server/TracyView.cpp index fd73c804..d35b6783 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2774,8 +2774,8 @@ void DrawZoneTrace( T zone, const std::vector& trace, const Worker& worker, s auto& prevCs = worker.GetCallstack( prev->callstack ); auto& currCs = worker.GetCallstack( curr->callstack ); - const auto psz = prevCs.size(); - uint8_t idx; + const auto psz = int8_t( prevCs.size() ); + int8_t idx; for( idx=0; idx& trace, const Worker& worker, s { if( cf == pf ) { - auto frame = worker.GetCallstackFrame( prevCs[idx-1] ); - auto pname = worker.GetString( frame->name ); - auto cname = worker.GetString( worker.GetSourceLocation( curr->srcloc ).function ); - if( pname == cname ) idx--; + idx--; found = true; break; } } if( found ) break; } - for( uint8_t j=1; jname ) );