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
diff --git a/lldb/source/Target/SectionLoadList.cpp b/lldb/source/Target/SectionLoadList.cpp
index 82f52f9..1975a86 100644
--- a/lldb/source/Target/SectionLoadList.cpp
+++ b/lldb/source/Target/SectionLoadList.cpp
@@ -81,19 +81,17 @@
     Log *log(lldb_private::GetLogIfAnyCategoriesSet (LIBLLDB_LOG_DYNAMIC_LOADER | LIBLLDB_LOG_VERBOSE));
 
     ModuleSP module_sp (section->GetModule());
-    
+
     if (module_sp)
     {
         if (log)
         {
             const FileSpec &module_file_spec (module_sp->GetFileSpec());
             log->Printf ("SectionLoadList::%s (section = %p (%s.%s), load_addr = 0x%16.16" PRIx64 ") module = %p",
-                         __FUNCTION__,
-                         section.get(),
+                         __FUNCTION__, static_cast<void*>(section.get()),
                          module_file_spec.GetPath().c_str(),
-                         section->GetName().AsCString(),
-                         load_addr,
-                         module_sp.get());
+                         section->GetName().AsCString(), load_addr,
+                         static_cast<void*>(module_sp.get()));
         }
 
         if (section->GetByteSize() == 0)
@@ -155,8 +153,7 @@
         if (log)
         {
             log->Printf ("SectionLoadList::%s (section = %p (%s), load_addr = 0x%16.16" PRIx64 ") error: module has been deleted",
-                         __FUNCTION__,
-                         section.get(),
+                         __FUNCTION__, static_cast<void*>(section.get()),
                          section->GetName().AsCString(),
                          load_addr);
         }
@@ -177,14 +174,13 @@
         {
             const FileSpec &module_file_spec (section_sp->GetModule()->GetFileSpec());
             log->Printf ("SectionLoadList::%s (section = %p (%s.%s))",
-                         __FUNCTION__,
-                         section_sp.get(),
+                         __FUNCTION__, static_cast<void*>(section_sp.get()),
                          module_file_spec.GetPath().c_str(),
                          section_sp->GetName().AsCString());
         }
 
         Mutex::Locker locker(m_mutex);
-        
+
         sect_to_addr_collection::iterator sta_pos = m_sect_to_addr.find(section_sp.get());
         if (sta_pos != m_sect_to_addr.end())
         {
@@ -209,11 +205,9 @@
     {
         const FileSpec &module_file_spec (section_sp->GetModule()->GetFileSpec());
         log->Printf ("SectionLoadList::%s (section = %p (%s.%s), load_addr = 0x%16.16" PRIx64 ")",
-                     __FUNCTION__,
-                     section_sp.get(),
+                     __FUNCTION__, static_cast<void*>(section_sp.get()),
                      module_file_spec.GetPath().c_str(),
-                     section_sp->GetName().AsCString(),
-                     load_addr);
+                     section_sp->GetName().AsCString(), load_addr);
     }
     bool erased = false;
     Mutex::Locker locker(m_mutex);
@@ -223,7 +217,7 @@
         erased = true;
         m_sect_to_addr.erase (sta_pos);
     }
-        
+
     addr_to_sect_collection::iterator ats_pos = m_addr_to_sect.find(load_addr);
     if (ats_pos != m_addr_to_sect.end())
     {
@@ -287,7 +281,8 @@
     addr_to_sect_collection::const_iterator pos, end;
     for (pos = m_addr_to_sect.begin(), end = m_addr_to_sect.end(); pos != end; ++pos)
     {
-        s.Printf("addr = 0x%16.16" PRIx64 ", section = %p: ", pos->first, pos->second.get());
+        s.Printf("addr = 0x%16.16" PRIx64 ", section = %p: ",
+                 pos->first, static_cast<void*>(pos->second.get()));
         pos->second->Dump (&s, target, 0);
     }
 }