Fix assorted compiler warnings (mismatched signedness and printf specifiers)

llvm-svn: 307161
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index 687187b..6a933df 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -161,9 +161,9 @@
         // List the common thread ID's
         const std::vector<uint32_t> &thread_index_ids =
             stack.GetUniqueThreadIndexIDs();
-        strm.Printf("%lu thread(s) ", thread_index_ids.size());
+        strm.Format("{0} thread(s) ", thread_index_ids.size());
         for (const uint32_t &thread_index_id : thread_index_ids) {
-          strm.Printf("#%u ", thread_index_id);
+          strm.Format("#{0} ", thread_index_id);
         }
         strm.EOL();
 
@@ -209,7 +209,7 @@
     Process *process = m_exe_ctx.GetProcessPtr();
     Thread *thread = process->GetThreadList().FindThreadByID(tid).get();
     if (thread == nullptr) {
-      result.AppendErrorWithFormat("Failed to process thread# %llu.\n", tid);
+      result.AppendErrorWithFormatv("Failed to process thread #{0}.\n", tid);
       result.SetStatus(eReturnStatusFailed);
       return false;
     }