summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2014-03-20 17:34:26 +0000
committerEd Maste <emaste@freebsd.org>2014-03-20 17:34:26 +0000
commitd494b29596af5b7fd9a946e6d084bc7b32987c82 (patch)
treef03ef4b85268a725ea0a8c199e9cd2eed8d506d3 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parente1c34bf380e727e400de7b56652607db4bd92753 (diff)
downloadbcm5719-llvm-d494b29596af5b7fd9a946e6d084bc7b32987c82.tar.gz
bcm5719-llvm-d494b29596af5b7fd9a946e6d084bc7b32987c82.zip
Quiet Clang warning about signed/unsigned comparison
llvm-svn: 204360
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
index cb2e1f96f6e..5542f7915a1 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
@@ -956,7 +956,7 @@ GDBRemoteCommunicationServer::Handle_qLaunchGDBServer (StringExtractorGDBRemote
{
char response[256];
const int response_len = ::snprintf (response, sizeof(response), "pid:%" PRIu64 ";port:%u;", debugserver_pid, port + m_port_offset);
- assert (response_len < sizeof(response));
+ assert (response_len < (int)sizeof(response));
PacketResult packet_result = SendPacketNoLock (response, response_len);
if (packet_result != PacketResult::Success)
OpenPOWER on IntegriCloud