forked from OSchip/llvm-project
Quiet Clang warning about signed/unsigned comparison
llvm-svn: 204360
This commit is contained in:
parent
e1c34bf380
commit
d494b29596
|
@ -956,7 +956,7 @@ GDBRemoteCommunicationServer::Handle_qLaunchGDBServer (StringExtractorGDBRemote
|
||||||
{
|
{
|
||||||
char response[256];
|
char response[256];
|
||||||
const int response_len = ::snprintf (response, sizeof(response), "pid:%" PRIu64 ";port:%u;", debugserver_pid, port + m_port_offset);
|
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);
|
PacketResult packet_result = SendPacketNoLock (response, response_len);
|
||||||
|
|
||||||
if (packet_result != PacketResult::Success)
|
if (packet_result != PacketResult::Success)
|
||||||
|
|
Loading…
Reference in New Issue