aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-04-04 04:06:10 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-04-04 04:06:10 +0000
commit324a1036194f95385b26c941bc82cc6dadf50ac7 (patch)
tree06bb7d9660aafa1ff4e69cfa813b5c122038e09f /lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
parentf3aefca7c1bcdd3a6445b7ae04a9f69af567a7e7 (diff)
downloadllvm-324a1036194f95385b26c941bc82cc6dadf50ac7.zip
llvm-324a1036194f95385b26c941bc82cc6dadf50ac7.tar.gz
llvm-324a1036194f95385b26c941bc82cc6dadf50ac7.tar.bz2
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/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
index ec0f093..1ed7770 100644
--- a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
+++ b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
@@ -202,16 +202,16 @@ ObjectFileJIT::Dump (Stream *s)
if (module_sp)
{
lldb_private::Mutex::Locker locker(module_sp->GetMutex());
- s->Printf("%p: ", this);
+ s->Printf("%p: ", static_cast<void*>(this));
s->Indent();
s->PutCString("ObjectFileJIT");
-
+
ArchSpec arch;
if (GetArchitecture(arch))
*s << ", arch = " << arch.GetArchitectureName();
-
+
s->EOL();
-
+
SectionList *sections = GetSectionList();
if (sections)
sections->Dump(s, NULL, true, UINT32_MAX);