diff options
Diffstat (limited to 'third_party/libwebrtc/rtc_base/socket_adapters.cc')
-rw-r--r-- | third_party/libwebrtc/rtc_base/socket_adapters.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/libwebrtc/rtc_base/socket_adapters.cc b/third_party/libwebrtc/rtc_base/socket_adapters.cc index 4ec93ae3e9..f628929a46 100644 --- a/third_party/libwebrtc/rtc_base/socket_adapters.cc +++ b/third_party/libwebrtc/rtc_base/socket_adapters.cc @@ -520,7 +520,8 @@ void AsyncSocksProxySocket::OnConnectEvent(Socket* socket) { void AsyncSocksProxySocket::ProcessInput(char* data, size_t* len) { RTC_DCHECK(state_ < SS_TUNNEL); - ByteBufferReader response(data, *len); + ByteBufferReader response( + rtc::MakeArrayView(reinterpret_cast<uint8_t*>(data), *len)); if (state_ == SS_HELLO) { uint8_t ver, method; |