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

Unified Diff: net/http/transport_security_state.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « net/http/http_stream_parser.cc ('k') | net/http/transport_security_state_static.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/transport_security_state.cc
diff --git a/net/http/transport_security_state.cc b/net/http/transport_security_state.cc
index 6217d579b5d779d46bc5837ac4ba15676475dd81..a2d377e38813a365312823f4eea6e4d93042f605 100644
--- a/net/http/transport_security_state.cc
+++ b/net/http/transport_security_state.cc
@@ -264,7 +264,7 @@ std::string TransportSecurityState::CanonicalizeHost(const std::string& host) {
break;
for (size_t j = 0; j < label_length; ++j) {
- new_host[i + 1 + j] = tolower(new_host[i + 1 + j]);
+ new_host[i + 1 + j] = static_cast<char>(tolower(new_host[i + 1 + j]));
}
}
« no previous file with comments | « net/http/http_stream_parser.cc ('k') | net/http/transport_security_state_static.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698