Silence -Wformat on platforms where uint64_t is unsigned long.

llvm-svn: 167249
This commit is contained in:
Matt Beaumont-Gay 2012-11-01 20:26:42 +00:00
parent 0eece8d7f5
commit 4a2874ecc6
1 changed files with 1 additions and 1 deletions

View File

@ -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);