From d01b2953fac73977de3bc97e72ea04ad1ec6600f Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Thu, 29 Nov 2012 21:49:15 +0000 Subject: Resolve printf formatting warnings on Linux: - use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945 --- lldb/source/Symbol/UnwindTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Symbol/UnwindTable.cpp') diff --git a/lldb/source/Symbol/UnwindTable.cpp b/lldb/source/Symbol/UnwindTable.cpp index 7b31120fac4..f128066684f 100644 --- a/lldb/source/Symbol/UnwindTable.cpp +++ b/lldb/source/Symbol/UnwindTable.cpp @@ -140,7 +140,7 @@ UnwindTable::Dump (Stream &s) const_iterator end = m_unwinds.end(); for (const_iterator pos = begin; pos != end; ++pos) { - s.Printf ("[%u] 0x%16.16llx\n", (unsigned)std::distance (begin, pos), pos->first); + s.Printf ("[%u] 0x%16.16" PRIx64 "\n", (unsigned)std::distance (begin, pos), pos->first); } s.EOL(); } -- cgit v1.2.3