diff --git a/public/common/TracySystem.cpp b/public/common/TracySystem.cpp index 2e1ba21f..d51f5d65 100644 --- a/public/common/TracySystem.cpp +++ b/public/common/TracySystem.cpp @@ -132,7 +132,7 @@ TRACY_API void SetThreadName( const char* name ) SetThreadNameWithHint( name, 0 ); } -TRACY_API void SetThreadNameWithHint( const char* name, uint32_t groupHint ) +TRACY_API void SetThreadNameWithHint( const char* name, int32_t groupHint ) { #if defined _WIN32 # ifdef TRACY_UWP diff --git a/public/common/TracySystem.hpp b/public/common/TracySystem.hpp index 22203f9f..2f565e9a 100644 --- a/public/common/TracySystem.hpp +++ b/public/common/TracySystem.hpp @@ -17,7 +17,7 @@ TRACY_API uint32_t GetThreadHandleImpl(); struct ThreadNameData { uint32_t id; - uint32_t groupHint; + int32_t groupHint; const char* name; ThreadNameData* next; }; @@ -33,7 +33,7 @@ static inline uint32_t GetThreadHandle() #endif TRACY_API void SetThreadName( const char* name ); -TRACY_API void SetThreadNameWithHint( const char* name, uint32_t groupHint ); +TRACY_API void SetThreadNameWithHint( const char* name, int32_t groupHint ); TRACY_API const char* GetThreadName( uint32_t id ); TRACY_API const char* GetEnvVar( const char* name );