aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-11-01 20:26:42 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-11-01 20:26:42 +0000
commit00a8541416df6e2ca8b298759267bea479b6adfb (patch)
treeab46b747caac76c70e12ea2b1c433e36c5d55126 /lib
parentf22ae6512dec60d9e526fe55b988f8d42ced5b57 (diff)
Silence -Wformat on platforms where uint64_t is unsigned long.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/CGObjCMac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp
index c67e3fd002..676f22ebc5 100644
--- a/lib/CodeGen/CGObjCMac.cpp
+++ b/lib/CodeGen/CGObjCMac.cpp
@@ -2353,7 +2353,7 @@ llvm::Constant *CGObjCCommonMac::BuildRCBlockLayout(CodeGenModule &CGM,
// 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);