Index: util/net/http_multipart_builder.cc |
diff --git a/util/net/http_multipart_builder.cc b/util/net/http_multipart_builder.cc |
index 29b00af0c1c0b217bc751e99da789d15d7214a4e..83186af67ed5afa19861108272f70012fbe09f85 100644 |
--- a/util/net/http_multipart_builder.cc |
+++ b/util/net/http_multipart_builder.cc |
@@ -46,7 +46,8 @@ std::string GenerateBoundaryString() { |
for (int index = 0; index < 32; ++index) { |
const char kCharacters[] = |
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; |
- int random_value = base::RandInt(0, strlen(kCharacters) - 1); |
+ int random_value = |
+ base::RandInt(0, static_cast<int>(strlen(kCharacters)) - 1); |
boundary_string += kCharacters[random_value]; |
} |
boundary_string += "---"; |