From 53e24a8e30779d8a844c9c8eceacd563829432b6 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Tue, 26 Jan 2016 18:42:53 +0100 Subject: [PATCH] x86emitter: fix an useless gcc warning on int/uint cast --- common/src/x86emitter/x86emitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/x86emitter/x86emitter.cpp b/common/src/x86emitter/x86emitter.cpp index a3c454e33a..4317cd585f 100644 --- a/common/src/x86emitter/x86emitter.cpp +++ b/common/src/x86emitter/x86emitter.cpp @@ -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() ) {