| Index: chrome/installer/util/l10n_string_util.cc
|
| ===================================================================
|
| --- chrome/installer/util/l10n_string_util.cc (revision 48256)
|
| +++ chrome/installer/util/l10n_string_util.cc (working copy)
|
| @@ -42,7 +42,7 @@
|
| }
|
| length = GetLocaleInfo(id, LOCALE_SISO639LANGNAME,
|
| WriteInto(&language, length), length);
|
| - DCHECK(length == language.length() + 1);
|
| + DCHECK(length == static_cast<int>(language.length() + 1));
|
| StringToLowerASCII(&language);
|
|
|
| // Add the country if we need it.
|
| @@ -51,7 +51,7 @@
|
| if (0 != length) {
|
| length = GetLocaleInfo(id, LOCALE_SISO3166CTRYNAME,
|
| WriteInto(&country, length), length);
|
| - DCHECK(length == country.length() + 1);
|
| + DCHECK(length == static_cast<int>(country.length() + 1));
|
| StringToLowerASCII(&country);
|
| if (L"en" == language) {
|
| if (L"gb" == country) {
|
|
|