Squelch a warning about mismatch between sign of constant and sign of return
authorReid Spencer <rspencer@reidspencer.com>
Wed, 4 Apr 2007 22:07:24 +0000 (22:07 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 4 Apr 2007 22:07:24 +0000 (22:07 +0000)
type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35674 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCFrameInfo.h

index 535e82386d053517b974d829862bfc6081c2ec0d..81365e903d2ad910399542c2929eded4260c874b 100644 (file)
@@ -48,7 +48,7 @@ public:
     
     // For ELF 32 ABI:
     // Save it right before the link register
-    return -4;
+    return -4U;
   }
   
   /// getLinkageSize - Return the size of the PowerPC ABI linkage area.