[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCFrameInfo.h

Reid Spencer reid at x10sys.com
Wed Apr 4 15:07:41 PDT 2007



Changes in directory llvm/lib/Target/PowerPC:

PPCFrameInfo.h updated: 1.14 -> 1.15
---
Log message:

Squelch a warning about mismatch between sign of constant and sign of return
type.


---
Diffs of the changes:  (+1 -1)

 PPCFrameInfo.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCFrameInfo.h
diff -u llvm/lib/Target/PowerPC/PPCFrameInfo.h:1.14 llvm/lib/Target/PowerPC/PPCFrameInfo.h:1.15
--- llvm/lib/Target/PowerPC/PPCFrameInfo.h:1.14	Tue Apr  3 07:35:28 2007
+++ llvm/lib/Target/PowerPC/PPCFrameInfo.h	Wed Apr  4 17:07:24 2007
@@ -48,7 +48,7 @@
     
     // 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.






More information about the llvm-commits mailing list