From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- third_party/libwebrtc/p2p/stunprober/stun_prober.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/libwebrtc/p2p/stunprober') diff --git a/third_party/libwebrtc/p2p/stunprober/stun_prober.cc b/third_party/libwebrtc/p2p/stunprober/stun_prober.cc index c60e7ede89..d130d780dc 100644 --- a/third_party/libwebrtc/p2p/stunprober/stun_prober.cc +++ b/third_party/libwebrtc/p2p/stunprober/stun_prober.cc @@ -156,8 +156,8 @@ void StunProber::Requester::SendStunRequest() { // request timing could become too complicated. Callback is ignored by passing // empty AsyncCallback. rtc::PacketOptions options; - int rv = socket_->SendTo(const_cast(request_packet->Data()), - request_packet->Length(), addr, options); + int rv = socket_->SendTo(request_packet->Data(), request_packet->Length(), + addr, options); if (rv < 0) { prober_->ReportOnFinished(WRITE_FAILED); return; -- cgit v1.2.3