From ed24dcc05f02269cd87b9dc56844e584e136c518 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 3 Apr 2012 07:50:11 +0000 Subject: Use integers instead of NULL. llvm-svn: 153941 --- lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index 3cd0fba95d9..3fc97295a80 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -516,7 +516,7 @@ AcceptPortFromInferior (void *arg) char pid_str[256]; ::memset (pid_str, 0, sizeof(pid_str)); ConnectionStatus status; - const size_t pid_str_len = file_conn.Read (pid_str, sizeof(pid_str), NULL, status, NULL); + const size_t pid_str_len = file_conn.Read (pid_str, sizeof(pid_str), 0, status, NULL); if (pid_str_len > 0) { int pid = atoi (pid_str); -- cgit v1.2.3