diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-04-03 07:50:11 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-04-03 07:50:11 +0000 |
commit | ed24dcc05f02269cd87b9dc56844e584e136c518 (patch) | |
tree | 397d771f176417ba2ef560fd801270a758035fd6 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | 542f2429f3251cee363550caf5d0b303c160cecc (diff) | |
download | bcm5719-llvm-ed24dcc05f02269cd87b9dc56844e584e136c518.tar.gz bcm5719-llvm-ed24dcc05f02269cd87b9dc56844e584e136c518.zip |
Use integers instead of NULL.
llvm-svn: 153941
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 2 |
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 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); |