x86emitter: fix an useless gcc warning on int/uint cast

This commit is contained in:
Gregory Hainaut 2016-01-26 18:42:53 +01:00
parent ebea587465
commit 53e24a8e30
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ const char* xRegisterBase::GetName()
// bad error? Return a "big" error string. Might break formatting of register tables
// but that's the least of your worries if you see this baby.
if( Id >= iREGCNT_GPR || Id < 0 ) return "!Register index out of range!";
if( Id >= (int)iREGCNT_GPR || Id < 0 ) return "!Register index out of range!";
switch( GetOperandSize() )
{