Fix clang -Werror build break due to mismatched sign comparison.

Originally committed in r202985.

llvm-svn: 202992
This commit is contained in:
David Blaikie 2014-03-05 18:53:36 +00:00
parent 28eded3845
commit 7f4a52eaee
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ void Thumb1FrameLowering::emitEpilogue(MachineFunction &MF,
unsigned Align = MF.getTarget().getFrameLowering()->getStackAlignment();
unsigned ArgRegsSaveSize = AFI->getArgRegsSaveSize(Align);
int NumBytes = (int)MFI->getStackSize();
assert(NumBytes >= ArgRegsSaveSize &&
assert((unsigned)NumBytes >= ArgRegsSaveSize &&
"ArgRegsSaveSize is included in NumBytes");
const uint16_t *CSRegs = RegInfo->getCalleeSavedRegs();
unsigned FramePtr = RegInfo->getFrameRegister(MF);