diff options
author | Andy Gibbs <andyg1001@hotmail.co.uk> | 2013-06-19 19:04:53 +0000 |
---|---|---|
committer | Andy Gibbs <andyg1001@hotmail.co.uk> | 2013-06-19 19:04:53 +0000 |
commit | a297a97e0910500e2b7bcdaad0529c2fec3acd7d (patch) | |
tree | 8e5817ffe12bc3ae70eec378840a9e64a63eab2b /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 00dfec6265dfe622b42a9d08b4c50a1974c4f040 (diff) | |
download | llvm-a297a97e0910500e2b7bcdaad0529c2fec3acd7d.zip llvm-a297a97e0910500e2b7bcdaad0529c2fec3acd7d.tar.gz llvm-a297a97e0910500e2b7bcdaad0529c2fec3acd7d.tar.bz2 |
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/GDBRemoteCommunicationServer.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index 7f73615..3a14e9f 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -186,7 +186,7 @@ GDBRemoteCommunicationServer::SendErrorResponse (uint8_t err) { char packet[16]; int packet_len = ::snprintf (packet, sizeof(packet), "E%2.2x", err); - assert (packet_len < sizeof(packet)); + assert (packet_len < (int)sizeof(packet)); return SendPacketNoLock (packet, packet_len); } @@ -713,7 +713,7 @@ GDBRemoteCommunicationServer::Handle_qLaunchGDBServer (StringExtractorGDBRemote uint16_t port = (intptr_t)accept_thread_result; char response[256]; const int response_len = ::snprintf (response, sizeof(response), "pid:%" PRIu64 ";port:%u;", debugserver_pid, port); - assert (response_len < sizeof(response)); + assert (response_len < (int)sizeof(response)); //m_port_to_pid_map[port] = debugserver_launch_info.GetProcessID(); success = SendPacketNoLock (response, response_len) > 0; } |