1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Fix -Wsign-compare warning

llvm-svn: 248942
This commit is contained in:
David Blaikie 2015-09-30 20:37:48 +00:00
parent 4137348dbd
commit d5e11fabef

View File

@ -730,7 +730,7 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF,
if (!IsFunclet)
MFI->setOffsetAdjustment(-NumBytes);
else
assert(MFI->getOffsetAdjustment() == -NumBytes &&
assert(MFI->getOffsetAdjustment() == -(int)NumBytes &&
"should calculate same local variable offset for funclets");
// Save EBP/RBP into the appropriate stack slot.