From 9d9d84b3e3bdcc049e568ba620ea5429f98ca4b7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 12 Aug 2004 18:36:28 +0000 Subject: [PATCH] Fix warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15697 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp b/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp index 5a708083272..0a66fd18d3e 100644 --- a/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp +++ b/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp @@ -58,7 +58,7 @@ static unsigned getStaticStackSize (MachineFunction &MF) { unsigned staticStackSize = MF.getInfo()->getStaticStackSize(); - if (staticStackSize < SparcV9FrameInfo::MinStackFrameSize) + if (staticStackSize < (unsigned)SparcV9FrameInfo::MinStackFrameSize) staticStackSize = SparcV9FrameInfo::MinStackFrameSize; if (unsigned padsz = staticStackSize % SparcV9FrameInfo::StackFrameSizeAlignment)