diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 21:29:40 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 21:29:40 +0000 |
commit | d265369f2b05102f44e88b3586562060973ecf48 (patch) | |
tree | c3964845ae89da029ea4aa43272053fb0bdd2765 /chrome/installer/util | |
parent | 697af4a94a9351f6994d9207356930f373cf3a6e (diff) | |
download | chromium_src-d265369f2b05102f44e88b3586562060973ecf48.zip chromium_src-d265369f2b05102f44e88b3586562060973ecf48.tar.gz chromium_src-d265369f2b05102f44e88b3586562060973ecf48.tar.bz2 |
Another dependency the bbot missed!!!
BUG=44471
TEST=none
Review URL: http://codereview.chromium.org/2201001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48198 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util')
-rw-r--r-- | chrome/installer/util/l10n_string_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc index 6e9b726..2f571de 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 == language.length() + 1); + DCHECK(length == static_cast<int>(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 == country.length() + 1); + DCHECK(length == static_cast<int>(country.length() + 1)); StringToLowerASCII(&country); if (L"en" == language) { if (L"gb" == country) { |