From d494b29596af5b7fd9a946e6d084bc7b32987c82 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 20 Mar 2014 17:34:26 +0000 Subject: [PATCH] Quiet Clang warning about signed/unsigned comparison llvm-svn: 204360 --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index cb2e1f96f6ef..5542f7915a1d 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)