Fix warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-08-12 18:36:28 +00:00
parent 750d723062
commit 9d9d84b3e3

View File

@ -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)