diff options
Diffstat (limited to 'third_party/libwebrtc/p2p/stunprober')
-rw-r--r-- | third_party/libwebrtc/p2p/stunprober/stun_prober.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<char*>(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; |