From 2f00626f7ef9fbd4dde08c5848e517ad92c7752d Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 27 Sep 2013 00:20:53 +0000 Subject: [PATCH] Fix -Wnon-pod-varargs error in r191472. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191473 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-objdump/COFFDump.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/llvm-objdump/COFFDump.cpp b/tools/llvm-objdump/COFFDump.cpp index 968e20c7ed9..a43150d46ea 100644 --- a/tools/llvm-objdump/COFFDump.cpp +++ b/tools/llvm-objdump/COFFDump.cpp @@ -243,12 +243,12 @@ static void printImportTables(const COFFObjectFile *Obj) { if (i->getImportTableEntry(Dir)) return; if (i->getName(Name)) return; - outs() << format(" lookup %08x", Dir->ImportLookupTableRVA); - outs() << format(" time %08x", Dir->TimeDateStamp); - outs() << format(" fwd %08x", Dir->ForwarderChain); - outs() << format(" name %08x", Dir->NameRVA); - outs() << format(" addr %08x\n\n", Dir->ImportAddressTableRVA); - + outs() << format(" lookup %08x time %08x fwd %08x name %08x addr %08x\n\n", + static_cast(Dir->ImportLookupTableRVA), + static_cast(Dir->TimeDateStamp), + static_cast(Dir->ForwarderChain), + static_cast(Dir->NameRVA), + static_cast(Dir->ImportAddressTableRVA)); outs() << " DLL Name: " << Name << "\n"; outs() << " Hint/Ord Name\n"; const COFF::ImportLookupTableEntry32 *entry;