Fix signed/unsigned.

This commit is contained in:
Bartosz Taudul 2018-08-19 18:53:32 +02:00
parent e9170c862e
commit f55b99ba7e

View File

@ -266,7 +266,7 @@ static const char* GetHostInfo()
uint32_t regs[4];
char cpuModel[4*4*3];
auto modelPtr = cpuModel;
for( int i=0x80000002; i<0x80000005; ++i )
for( uint32_t i=0x80000002; i<0x80000005; ++i )
{
# if defined _MSC_VER || defined __CYGWIN__
__cpuidex( (int*)regs, i, 0 );