Index: webrtc/base/sslstreamadapter_unittest.cc |
diff --git a/webrtc/base/sslstreamadapter_unittest.cc b/webrtc/base/sslstreamadapter_unittest.cc |
index 386fe4f98683d65b885f3d2395ace5516f7fb8cb..c65bb63ec098727fdfc000174b2a96f7ce33127a 100644 |
--- a/webrtc/base/sslstreamadapter_unittest.cc |
+++ b/webrtc/base/sslstreamadapter_unittest.cc |
@@ -334,7 +334,7 @@ class SSLStreamAdapterTestBase : public testing::Test, |
size_t data_len, size_t *written, |
int *error) { |
// Randomly drop loss_ percent of packets |
- if (rtc::CreateRandomId() % 100 < static_cast<uint32>(loss_)) { |
+ if (rtc::CreateRandomId() % 100 < static_cast<uint32_t>(loss_)) { |
LOG(LS_INFO) << "Randomly dropping packet, size=" << data_len; |
*written = data_len; |
return rtc::SR_SUCCESS; |