summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorAndy Gibbs <andyg1001@hotmail.co.uk>2013-06-19 19:04:53 +0000
committerAndy Gibbs <andyg1001@hotmail.co.uk>2013-06-19 19:04:53 +0000
commita297a97e0910500e2b7bcdaad0529c2fec3acd7d (patch)
tree8e5817ffe12bc3ae70eec378840a9e64a63eab2b /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent00dfec6265dfe622b42a9d08b4c50a1974c4f040 (diff)
downloadbcm5719-llvm-a297a97e0910500e2b7bcdaad0529c2fec3acd7d.tar.gz
bcm5719-llvm-a297a97e0910500e2b7bcdaad0529c2fec3acd7d.zip
Sort out a number of mismatched integer types in order to cut down the number of compiler warnings.
llvm-svn: 184333
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index fab0e6569d0..3754c366780 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -260,7 +260,7 @@ ProcessGDBRemote::BuildDynamicRegisterInfo (bool force)
++reg_num)
{
const int packet_len = ::snprintf (packet, sizeof(packet), "qRegisterInfo%x", reg_num);
- assert (packet_len < sizeof(packet));
+ assert (packet_len < (int)sizeof(packet));
StringExtractorGDBRemote response;
if (m_gdb_comm.SendPacketAndWaitForResponse(packet, packet_len, response, false))
{
@@ -1942,7 +1942,7 @@ ProcessGDBRemote::DoReadMemory (addr_t addr, void *buf, size_t size, Error &erro
char packet[64];
const int packet_len = ::snprintf (packet, sizeof(packet), "m%" PRIx64 ",%" PRIx64, (uint64_t)addr, (uint64_t)size);
- assert (packet_len + 1 < sizeof(packet));
+ assert (packet_len + 1 < (int)sizeof(packet));
StringExtractorGDBRemote response;
if (m_gdb_comm.SendPacketAndWaitForResponse(packet, packet_len, response, true))
{
OpenPOWER on IntegriCloud