From a374114358398a6dec0a9d790a99e9d6ddd36291 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 4 Mar 2018 17:17:25 +0100 Subject: [PATCH] Use proper encoding of source location. --- server/TracyWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index 7224085a..29672453 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -396,7 +396,7 @@ std::vector Worker::GetMatchingSourceLocation( const char* query ) cons { auto it = m_data.sourceLocationPayloadMap.find( srcloc ); assert( it != m_data.sourceLocationPayloadMap.end() ); - match.push_back( it->second ); + match.push_back( -int32_t( it->second + 1 ) ); } }