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(); |