summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
diff options
context:
space:
mode:
authorVirgile Bello <virgile.bello@gmail.com>2014-03-08 17:15:35 +0000
committerVirgile Bello <virgile.bello@gmail.com>2014-03-08 17:15:35 +0000
commitffeba256526f5baa0685f4f8a21d7c7949eac691 (patch)
tree5c982d383b2c04e989b7707c007c713439116ef1 /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
parentda0fc76e7f937a889631ed7990796daea0249d9e (diff)
downloadbcm5719-llvm-ffeba256526f5baa0685f4f8a21d7c7949eac691.tar.gz
bcm5719-llvm-ffeba256526f5baa0685f4f8a21d7c7949eac691.zip
Remove %zx in printf (only GCC supports it, not MSVC).
llvm-svn: 203349
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
index 0d13349f201..a4752342e9b 100644
--- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
+++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
@@ -852,7 +852,7 @@ ObjectFilePECOFF::DumpOptCOFFHeader(Stream *s, const coff_opt_header_t& header)
s->Printf (" heap_reserve_size = 0x%16.16" PRIx64 "\n", header.heap_reserve_size);
s->Printf (" heap_commit_size = 0x%16.16" PRIx64 "\n", header.heap_commit_size);
s->Printf (" loader_flags = 0x%8.8x\n", header.loader_flags);
- s->Printf (" num_data_dir_entries = 0x%8.8zx\n", header.data_dirs.size());
+ s->Printf (" num_data_dir_entries = 0x%8.8x\n", (uint32_t)header.data_dirs.size());
uint32_t i;
for (i=0; i<header.data_dirs.size(); i++)
{
OpenPOWER on IntegriCloud