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/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp
index a1fa653..6b8499a 100644
--- a/lldb/source/Expression/IRForTarget.cpp
+++ b/lldb/source/Expression/IRForTarget.cpp
@@ -1743,23 +1743,23 @@
 IRForTarget::ResolveExternals (Function &llvm_function)
 {
     lldb_private::Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
-    
+
     for (GlobalVariable &global_var : m_module->globals())
     {
         std::string global_name = global_var.getName().str();
-        
+
         if (log)
-            log->Printf("Examining %s, DeclForGlobalValue returns %p", 
+            log->Printf("Examining %s, DeclForGlobalValue returns %p",
                         global_name.c_str(),
-                        DeclForGlobal(&global_var));
-        
+                        static_cast<void*>(DeclForGlobal(&global_var)));
+
         if (global_name.find("OBJC_IVAR") == 0)
         {
             if (!HandleSymbol(&global_var))
             {
                 if (m_error_stream)
                     m_error_stream->Printf("Error [IRForTarget]: Couldn't find Objective-C indirect ivar symbol %s\n", global_name.c_str());
-                
+
                 return false;
             }
         }
@@ -1769,7 +1769,7 @@
             {
                 if (m_error_stream)
                     m_error_stream->Printf("Error [IRForTarget]: Couldn't resolve the class for an Objective-C static method call\n");
-                
+
                 return false;
             }
         }
@@ -1779,7 +1779,7 @@
             {
                 if (m_error_stream)
                     m_error_stream->Printf("Error [IRForTarget]: Couldn't resolve the class for an Objective-C static method call\n");
-                
+
                 return false;
             }
         }
@@ -1789,12 +1789,12 @@
             {
                 if (m_error_stream)
                     m_error_stream->Printf("Internal error [IRForTarget]: Couldn't rewrite external variable %s\n", global_name.c_str());
-                
+
                 return false;
             }
         }
     }
-        
+
     return true;
 }