Index: chromeos/timezone/timezone_request.cc |
diff --git a/chromeos/timezone/timezone_request.cc b/chromeos/timezone/timezone_request.cc |
index 940632ed08ef69ddd6364be6b7744098c1c21276..df1ef21e6d58cc38312146cd033c5d1fdd1cf611 100644 |
--- a/chromeos/timezone/timezone_request.cc |
+++ b/chromeos/timezone/timezone_request.cc |
@@ -188,10 +188,12 @@ bool ParseServerResponse(const GURL& server_url, |
const base::DictionaryValue* response_object = NULL; |
if (!response_value->GetAsDictionary(&response_object)) { |
- PrintTimeZoneError(server_url, |
- "Unexpected response type : " + |
- base::StringPrintf("%u", response_value->GetType()), |
- timezone); |
+ PrintTimeZoneError( |
+ server_url, |
+ "Unexpected response type : " + |
+ base::StringPrintf( |
+ "%u", static_cast<unsigned int>(response_value->GetType())), |
+ timezone); |
RecordUmaEvent(TIMEZONE_REQUEST_EVENT_RESPONSE_MALFORMED); |
return false; |
} |