diff options
author | Chris Bieneman <beanz@apple.com> | 2017-04-27 00:47:19 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2017-04-27 00:47:19 +0000 |
commit | 26beacc19e167381334032cc25fe9fed0fda139d (patch) | |
tree | b2d012e9a4da24b1b76d9ff8c051e4c48d4ce2c9 /lldb/source/Host/common/TCPSocket.cpp | |
parent | c246a4c973ebc878b27a44c03e74ad74e9949e74 (diff) | |
download | bcm5719-llvm-26beacc19e167381334032cc25fe9fed0fda139d.tar.gz bcm5719-llvm-26beacc19e167381334032cc25fe9fed0fda139d.zip |
One more try at the whole compiling thing...
Need to actually use the right type in both parts of the cast.
llvm-svn: 301506
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)); |