From 324a1036194f95385b26c941bc82cc6dadf50ac7 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 4 Apr 2014 04:06:10 +0000 Subject: 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 --- lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp') diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp index 91c3f50..ca70b96 100644 --- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp +++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp @@ -790,19 +790,19 @@ ObjectFilePECOFF::Dump(Stream *s) if (module_sp) { lldb_private::Mutex::Locker locker(module_sp->GetMutex()); - s->Printf("%p: ", this); + s->Printf("%p: ", static_cast(this)); s->Indent(); s->PutCString("ObjectFilePECOFF"); - + ArchSpec header_arch; GetArchitecture (header_arch); - + *s << ", file = '" << m_file << "', arch = " << header_arch.GetArchitectureName() << "\n"; - + SectionList *sections = GetSectionList(); if (sections) sections->Dump(s, NULL, true, UINT32_MAX); - + if (m_symtab_ap.get()) m_symtab_ap->Dump(s, NULL, eSortOrderNone); -- cgit v1.1