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

Unified Diff: chrome/installer/util/l10n_string_util.cc

Issue 2222002: Unsigned warning fix - take 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months 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 | « chrome/browser/views/select_profile_dialog.cc ('k') | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/browser/views/select_profile_dialog.cc ('k') | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698