[cfe-commits] r167249 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Matt Beaumont-Gay
matthewbg at google.com
Thu Nov 1 13:26:42 PDT 2012
Author: matthewbg
Date: Thu Nov 1 15:26:42 2012
New Revision: 167249
URL: http://llvm.org/viewvc/llvm-project?rev=167249&view=rev
Log:
Silence -Wformat on platforms where uint64_t is unsigned long.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=167249&r1=167248&r2=167249&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Thu Nov 1 15:26:42 2012
@@ -2353,7 +2353,7 @@
// Block variable layout instruction has been inlined.
if (CGM.getLangOpts().ObjCGCBitmapPrint) {
printf("\n Inline instruction for block variable layout: ");
- printf("0x0%llx\n", Result);
+ printf("0x0%llx\n", (unsigned long long)Result);
}
if (WordSizeInBytes == 8) {
const llvm::APInt Instruction(64, Result);
More information about the cfe-commits
mailing list