[Lldb-commits] [lldb] r234708 - fixing msvc build (format string z is not supported)

Colin Riley colin at codeplay.com
Sun Apr 12 15:05:58 PDT 2015


Author: domipheus
Date: Sun Apr 12 17:05:58 2015
New Revision: 234708

URL: http://llvm.org/viewvc/llvm-project?rev=234708&view=rev
Log:
fixing msvc build (format string z is not supported)

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=234708&r1=234707&r2=234708&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp Sun Apr 12 17:05:58 2015
@@ -221,7 +221,7 @@ RSModuleDescriptor::Dump(Stream &strm) c
     strm.EOL();
     strm.IndentMore();
     strm.Indent();
-    strm.Printf("Globals: %zu", m_globals.size());
+    strm.Printf("Globals: %" PRIu64, static_cast<uint64_t>(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: %zu", m_kernels.size());
+    strm.Printf("Kernels: %" PRIu64, static_cast<uint64_t>(m_kernels.size()));
     strm.EOL();
     strm.IndentMore();
     for (const auto &kernel : m_kernels)





More information about the lldb-commits mailing list