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
This commit is contained in:
Matt Beaumont-Gay 2012-11-01 20:26:42 +00:00
Родитель f22ae6512d
Коммит 00a8541416
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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