Fix -Wsign-compare warning

llvm-svn: 248942
This commit is contained in:
David Blaikie 2015-09-30 20:37:48 +00:00
parent af01508cc3
commit 757908e545
1 changed files with 1 additions and 1 deletions

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.