projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eece8d
)
Silence -Wformat on platforms where uint64_t is unsigned long.
author
Matt Beaumont-Gay
<matthewbg@google.com>
Thu, 1 Nov 2012 20:26:42 +0000
(20:26 +0000)
committer
Matt Beaumont-Gay
<matthewbg@google.com>
Thu, 1 Nov 2012 20:26:42 +0000
(20:26 +0000)
llvm-svn: 167249
clang/lib/CodeGen/CGObjCMac.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGObjCMac.cpp
b/clang/lib/CodeGen/CGObjCMac.cpp
index
c67e3fd
..
676f22e
100644
(file)
--- a/
clang/lib/CodeGen/CGObjCMac.cpp
+++ b/
clang/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);