diff --git a/ARMeilleure/Translation/Translator.cs b/ARMeilleure/Translation/Translator.cs index dacaf04c67..33900f2570 100644 --- a/ARMeilleure/Translation/Translator.cs +++ b/ARMeilleure/Translation/Translator.cs @@ -193,7 +193,7 @@ namespace ARMeilleure.Translation func = Compiler.Compile(cfg, argTypes, OperandType.I64, CompilerOptions.HighCq, aotInfo); - if (aotInfo.CodeStream.Length >= Aot.MinCodeLengthToSave) + if ((int)aotInfo.CodeStream.Length >= Aot.MinCodeLengthToSave) { Aot.WriteInfoCodeReloc((long)address, aotInfo); }