Index: chrome/installer/util/l10n_string_util.cc |
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc |
index 2f571de576d0dbc52a61ef392963fe1371d63efe..6e9b7267374431e16b2494b8c976e767a34c3165 100644 |
--- a/chrome/installer/util/l10n_string_util.cc |
+++ b/chrome/installer/util/l10n_string_util.cc |
@@ -42,7 +42,7 @@ std::wstring GetSystemLanguage(const bool use_omaha_language) { |
} |
length = GetLocaleInfo(id, LOCALE_SISO639LANGNAME, |
WriteInto(&language, length), length); |
- DCHECK(length == static_cast<int>(language.length() + 1)); |
+ DCHECK(length == language.length() + 1); |
StringToLowerASCII(&language); |
// Add the country if we need it. |
@@ -51,7 +51,7 @@ std::wstring GetSystemLanguage(const bool use_omaha_language) { |
if (0 != length) { |
length = GetLocaleInfo(id, LOCALE_SISO3166CTRYNAME, |
WriteInto(&country, length), length); |
- DCHECK(length == static_cast<int>(country.length() + 1)); |
+ DCHECK(length == country.length() + 1); |
StringToLowerASCII(&country); |
if (L"en" == language) { |
if (L"gb" == country) { |