diff options
author | Rui Ueyama <ruiu@google.com> | 2013-09-27 00:20:53 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-09-27 00:20:53 +0000 |
commit | 2f00626f7ef9fbd4dde08c5848e517ad92c7752d (patch) | |
tree | 0fe0850f50d9386365ffca3e585b1b4f8a7462d7 | |
parent | 0c873adc82a81b0bce317c3e2cb3139e990a0f9e (diff) | |
download | external_llvm-2f00626f7ef9fbd4dde08c5848e517ad92c7752d.zip external_llvm-2f00626f7ef9fbd4dde08c5848e517ad92c7752d.tar.gz external_llvm-2f00626f7ef9fbd4dde08c5848e517ad92c7752d.tar.bz2 |
Fix -Wnon-pod-varargs error in r191472.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191473 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/llvm-objdump/COFFDump.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/llvm-objdump/COFFDump.cpp b/tools/llvm-objdump/COFFDump.cpp index 968e20c..a43150d 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<uint32_t>(Dir->ImportLookupTableRVA), + static_cast<uint32_t>(Dir->TimeDateStamp), + static_cast<uint32_t>(Dir->ForwarderChain), + static_cast<uint32_t>(Dir->NameRVA), + static_cast<uint32_t>(Dir->ImportAddressTableRVA)); outs() << " DLL Name: " << Name << "\n"; outs() << " Hint/Ord Name\n"; const COFF::ImportLookupTableEntry32 *entry; |