Fixed some extra warnings that show up with the new clang.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145735 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBProcess.cpp b/source/API/SBProcess.cpp
index 76a3c9d..ce8109f 100644
--- a/source/API/SBProcess.cpp
+++ b/source/API/SBProcess.cpp
@@ -732,7 +732,7 @@
                      m_opaque_sp.get(), 
                      addr, 
                      dst, 
-                     (uint32_t) dst_len, 
+                     dst_len, 
                      sb_error.get());
     }
 
@@ -752,14 +752,14 @@
     {
         SBStream sstr;
         sb_error.GetDescription (sstr);
-        log->Printf ("SBProcess(%p)::ReadMemory (addr=0x%llx, dst=%p, dst_len=%zu, SBError (%p): %s) => %d", 
+        log->Printf ("SBProcess(%p)::ReadMemory (addr=0x%llx, dst=%p, dst_len=%zu, SBError (%p): %s) => %zu", 
                      m_opaque_sp.get(), 
                      addr, 
                      dst, 
-                     (uint32_t) dst_len, 
+                     dst_len, 
                      sb_error.get(), 
                      sstr.GetData(),
-                     (uint32_t) bytes_read);
+                     bytes_read);
     }
 
     return bytes_read;
@@ -777,7 +777,7 @@
                      m_opaque_sp.get(), 
                      addr, 
                      src, 
-                     (uint32_t) src_len, 
+                     src_len, 
                      sb_error.get());
     }
 
@@ -793,14 +793,14 @@
     {
         SBStream sstr;
         sb_error.GetDescription (sstr);
-        log->Printf ("SBProcess(%p)::WriteMemory (addr=0x%llx, src=%p, dst_len=%zu, SBError (%p): %s) => %d", 
+        log->Printf ("SBProcess(%p)::WriteMemory (addr=0x%llx, src=%p, dst_len=%zu, SBError (%p): %s) => %zu", 
                      m_opaque_sp.get(), 
                      addr, 
                      src, 
-                     (uint32_t) src_len, 
+                     src_len, 
                      sb_error.get(), 
                      sstr.GetData(),
-                     (uint32_t) bytes_written);
+                     bytes_written);
     }
 
     return bytes_written;
diff --git a/source/Breakpoint/StoppointLocation.cpp b/source/Breakpoint/StoppointLocation.cpp
index 5613f90..092caa5 100644
--- a/source/Breakpoint/StoppointLocation.cpp
+++ b/source/Breakpoint/StoppointLocation.cpp
@@ -30,12 +30,12 @@
 {
 }
 
-StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, size_t size, bool hardware) :
+StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, uint32_t byte_size, bool hardware) :
     m_loc_id(bid),
     m_addr(addr),
     m_hw_preferred(hardware),
     m_hw_index(LLDB_INVALID_INDEX32),
-    m_byte_size(size),
+    m_byte_size(byte_size),
     m_hit_count(0)
 {
 }
diff --git a/source/Breakpoint/Watchpoint.cpp b/source/Breakpoint/Watchpoint.cpp
index f7a8d65..4645b60 100644
--- a/source/Breakpoint/Watchpoint.cpp
+++ b/source/Breakpoint/Watchpoint.cpp
@@ -112,7 +112,7 @@
     assert(description_level >= lldb::eDescriptionLevelBrief &&
            description_level <= lldb::eDescriptionLevelVerbose);
 
-    s->Printf("Watchpoint %u: addr = 0x%8.8llx size = %zu state = %s type = %s%s",
+    s->Printf("Watchpoint %u: addr = 0x%8.8llx size = %u state = %s type = %s%s",
               GetID(),
               (uint64_t)m_addr,
               m_byte_size,
diff --git a/source/Symbol/Type.cpp b/source/Symbol/Type.cpp
index abb7e73..706e4de 100644
--- a/source/Symbol/Type.cpp
+++ b/source/Symbol/Type.cpp
@@ -109,7 +109,7 @@
 
     // Call the get byte size accesor so we resolve our byte size
     if (GetByteSize())
-        s->Printf(", byte-size = %zu", m_byte_size);
+        s->Printf(", byte-size = %u", m_byte_size);
     bool show_fullpaths = (level == lldb::eDescriptionLevelVerbose);
     m_decl.Dump(s, show_fullpaths);
 
@@ -149,7 +149,7 @@
         *s << ", name = \"" << m_name << "\"";
 
     if (m_byte_size != 0)
-        s->Printf(", size = %zu", m_byte_size);
+        s->Printf(", size = %u", m_byte_size);
 
     if (show_context && m_context != NULL)
     {