From 26beacc19e167381334032cc25fe9fed0fda139d Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 27 Apr 2017 00:47:19 +0000 Subject: [PATCH] One more try at the whole compiling thing... Need to actually use the right type in both parts of the cast. llvm-svn: 301506 --- lldb/source/Host/common/TCPSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Host/common/TCPSocket.cpp b/lldb/source/Host/common/TCPSocket.cpp index 465a739115a6..21830f5a52fc 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(&option_value); + reinterpret_cast(&option_value); ::setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, option_value_p, sizeof(option_value));