Index: net/dns/host_resolver.h |
diff --git a/net/dns/host_resolver.h b/net/dns/host_resolver.h |
index 5b3b3c7a7c668263b6f12adf448f1b25926985b2..2823c4ba651bbb0f025ba8725867e1d97783ac01 100644 |
--- a/net/dns/host_resolver.h |
+++ b/net/dns/host_resolver.h |
@@ -120,7 +120,7 @@ class NET_EXPORT HostResolver { |
static const size_t kDefaultParallelism = 0; |
// Set Options.max_retry_attempts to this to select a default retry value. |
- static const size_t kDefaultRetryAttempts = -1; |
+ static const size_t kDefaultRetryAttempts = static_cast<size_t>(-1); |
// If any completion callbacks are pending when the resolver is destroyed, |
// the host resolutions are cancelled, and the completion callbacks will not |