mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix signed/unsigned.
This commit is contained in:
parent
e9170c862e
commit
f55b99ba7e
@ -266,7 +266,7 @@ static const char* GetHostInfo()
|
|||||||
uint32_t regs[4];
|
uint32_t regs[4];
|
||||||
char cpuModel[4*4*3];
|
char cpuModel[4*4*3];
|
||||||
auto modelPtr = cpuModel;
|
auto modelPtr = cpuModel;
|
||||||
for( int i=0x80000002; i<0x80000005; ++i )
|
for( uint32_t i=0x80000002; i<0x80000005; ++i )
|
||||||
{
|
{
|
||||||
# if defined _MSC_VER || defined __CYGWIN__
|
# if defined _MSC_VER || defined __CYGWIN__
|
||||||
__cpuidex( (int*)regs, i, 0 );
|
__cpuidex( (int*)regs, i, 0 );
|
||||||
|
Loading…
Reference in New Issue
Block a user