Change group hint from unsigned to signed.

This commit is contained in:
Bartosz Taudul 2024-08-03 19:40:11 +02:00
parent 70a468e160
commit beb42a3d29
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 );