From 892946c873cd8bd6c251543ed0670d0ee3ab3df0 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 30 Sep 2015 20:37:48 +0000 Subject: [PATCH] Fix -Wsign-compare warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248942 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86FrameLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86FrameLowering.cpp b/lib/Target/X86/X86FrameLowering.cpp index 3257daf34a5..ca5d5702813 100644 --- a/lib/Target/X86/X86FrameLowering.cpp +++ b/lib/Target/X86/X86FrameLowering.cpp @@ -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. -- 2.34.1