Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Unified Diff: webrtc/p2p/stunprober/stunprober.h

Issue 1171483004: Fix windows build break (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/stunprober/stunprober.h
diff --git a/webrtc/p2p/stunprober/stunprober.h b/webrtc/p2p/stunprober/stunprober.h
index 30cfdb57a0cb722a5cb432c5e0a4979f68780378..e49b5f7378b2ed22630413bf87bbe5d12e454d9a 100644
--- a/webrtc/p2p/stunprober/stunprober.h
+++ b/webrtc/p2p/stunprober/stunprober.h
@@ -274,8 +274,8 @@ class StunProber {
int GetTotalClientSockets() { return 1; }
int GetTotalServerSockets() {
- return (shared_socket_mode_ ? 1 : all_servers_ips_.size()) *
- requests_per_ip_;
+ return static_cast<int>(
+ (shared_socket_mode_ ? 1 : all_servers_ips_.size()) * requests_per_ip_);
}
bool SendNextRequest();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698