[Lldb-commits] [lldb] r234531 - Fix printf format specifier to silence warning.

Chaoren Lin chaorenl at google.com
Thu Apr 9 13:21:42 PDT 2015


Author: chaoren
Date: Thu Apr  9 15:21:42 2015
New Revision: 234531

URL: http://llvm.org/viewvc/llvm-project?rev=234531&view=rev
Log:
Fix printf format specifier to silence warning.

Modified:
    lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp

Modified: lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp?rev=234531&r1=234530&r2=234531&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp Thu Apr  9 15:21:42 2015
@@ -221,7 +221,7 @@ RSModuleDescriptor::Dump(Stream &strm) c
     strm.EOL();
     strm.IndentMore();
     strm.Indent();
-    strm.Printf("Globals: %u", m_globals.size());
+    strm.Printf("Globals: %zu", m_globals.size());
     strm.EOL();
     strm.IndentMore();
     for (const auto &global : m_globals)
@@ -230,7 +230,7 @@ RSModuleDescriptor::Dump(Stream &strm) c
     }
     strm.IndentLess();
     strm.Indent();
-    strm.Printf("Kernels: %u", m_kernels.size());
+    strm.Printf("Kernels: %zu", m_kernels.size());
     strm.EOL();
     strm.IndentMore();
     for (const auto &kernel : m_kernels)





More information about the lldb-commits mailing list