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

Return signed value from GetLastTime().

This commit is contained in:
Bartosz Taudul
2017-10-06 18:32:25 +02:00
parent 9bc80941c7
commit 02edbf54ff
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -775,9 +775,9 @@ uint64_t View::GetFrameEnd( size_t idx ) const
}
}
uint64_t View::GetLastTime() const
int64_t View::GetLastTime() const
{
uint64_t last = 0;
int64_t last = 0;
if( !m_frames.empty() ) last = m_frames.back();
for( auto& v : m_threads )
{