diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-04 04:06:10 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-04 04:06:10 +0000 |
commit | 324a1036194f95385b26c941bc82cc6dadf50ac7 (patch) | |
tree | 06bb7d9660aafa1ff4e69cfa813b5c122038e09f /lldb/source/Target/StackID.cpp | |
parent | f3aefca7c1bcdd3a6445b7ae04a9f69af567a7e7 (diff) | |
download | bcm5719-llvm-324a1036194f95385b26c941bc82cc6dadf50ac7.tar.gz bcm5719-llvm-324a1036194f95385b26c941bc82cc6dadf50ac7.zip |
sweep up -Wformat warnings from gcc
This is a purely mechanical change explicitly casting any parameters for printf
style conversion. This cleans up the warnings emitted by gcc 4.8 on Linux.
llvm-svn: 205607
Diffstat (limited to 'lldb/source/Target/StackID.cpp')
-rw-r--r-- | lldb/source/Target/StackID.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Target/StackID.cpp b/lldb/source/Target/StackID.cpp index 9e8c315d070..ca337f91440 100644 --- a/lldb/source/Target/StackID.cpp +++ b/lldb/source/Target/StackID.cpp @@ -24,11 +24,12 @@ using namespace lldb_private; void StackID::Dump (Stream *s) { - s->Printf("StackID (pc = 0x%16.16" PRIx64 ", cfa = 0x%16.16" PRIx64 ", symbol_scope = %p", (uint64_t)m_pc, (uint64_t)m_cfa, m_symbol_scope); + s->Printf("StackID (pc = 0x%16.16" PRIx64 ", cfa = 0x%16.16" PRIx64 ", symbol_scope = %p", + m_pc, m_cfa, static_cast<void*>(m_symbol_scope)); if (m_symbol_scope) { SymbolContext sc; - + m_symbol_scope->CalculateSymbolContext (&sc); if (sc.block) s->Printf(" (Block {0x%8.8" PRIx64 "})", sc.block->GetID()); |