diff options
| author | Daniel Malea <daniel.malea@intel.com> | 2012-11-29 21:49:15 +0000 |
|---|---|---|
| committer | Daniel Malea <daniel.malea@intel.com> | 2012-11-29 21:49:15 +0000 |
| commit | d01b2953fac73977de3bc97e72ea04ad1ec6600f (patch) | |
| tree | 1883eeb5c13d5a2aa557d50eb40a0e08f43a8ec1 /lldb/source/Symbol/Function.cpp | |
| parent | 05d3bf77a1af49e8f6513729e4ccce780ffae4bb (diff) | |
| download | bcm5719-llvm-d01b2953fac73977de3bc97e72ea04ad1ec6600f.tar.gz bcm5719-llvm-d01b2953fac73977de3bc97e72ea04ad1ec6600f.zip | |
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
Diffstat (limited to 'lldb/source/Symbol/Function.cpp')
| -rw-r--r-- | lldb/source/Symbol/Function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Symbol/Function.cpp b/lldb/source/Symbol/Function.cpp index 0f060ddda9f..34f2ea560a9 100644 --- a/lldb/source/Symbol/Function.cpp +++ b/lldb/source/Symbol/Function.cpp @@ -370,7 +370,7 @@ Function::Dump(Stream *s, bool show_context) const } else if (m_type_uid != LLDB_INVALID_UID) { - s->Printf(", type_uid = 0x%8.8llx", m_type_uid); + s->Printf(", type_uid = 0x%8.8" PRIx64, m_type_uid); } s->EOL(); @@ -426,7 +426,7 @@ void Function::DumpSymbolContext(Stream *s) { m_comp_unit->DumpSymbolContext(s); - s->Printf(", Function{0x%8.8llx}", GetID()); + s->Printf(", Function{0x%8.8" PRIx64 "}", GetID()); } size_t |

