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

Unified Diff: chrome/browser/sync/util/character_set_converters_linux.cc

Issue 211019: Fix compiling of sync on linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/sync/util/character_set_converters.h ('k') | chrome/browser/sync/util/compat_file_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/util/character_set_converters_linux.cc
===================================================================
--- chrome/browser/sync/util/character_set_converters_linux.cc (revision 26817)
+++ chrome/browser/sync/util/character_set_converters_linux.cc (working copy)
@@ -29,7 +29,7 @@
return;
if (0 == (string->at(string->length() - 1) & 0x080))
return;
- int partial_enc_bytes = 0;
+ size_t partial_enc_bytes = 0;
for (partial_enc_bytes = 0 ; true ; ++partial_enc_bytes) {
if (4 == partial_enc_bytes || partial_enc_bytes == string->length()) {
// original string was broken, garbage in, garbage out.
« no previous file with comments | « chrome/browser/sync/util/character_set_converters.h ('k') | chrome/browser/sync/util/compat_file_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698