diff options
Diffstat (limited to 'lldb/source/Host/common/TCPSocket.cpp')
-rw-r--r-- | lldb/source/Host/common/TCPSocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/TCPSocket.cpp b/lldb/source/Host/common/TCPSocket.cpp index 465a739115a..21830f5a52f 100644 --- a/lldb/source/Host/common/TCPSocket.cpp +++ b/lldb/source/Host/common/TCPSocket.cpp @@ -191,7 +191,7 @@ Error TCPSocket::Listen(llvm::StringRef name, int backlog) { // enable local address reuse int option_value = 1; set_socket_option_arg_type option_value_p = - reinterpret_cast<get_socket_option_arg_type>(&option_value); + reinterpret_cast<set_socket_option_arg_type>(&option_value); ::setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, option_value_p, sizeof(option_value)); |