remove a few more sign/unsigned errors

git-svn-id: https://cld2.googlecode.com/svn/trunk@81 b252ecd4-b096-bf77-eb8e-91563289f87e
This commit is contained in:
dsites@google.com
2013-09-10 16:55:45 +00:00
parent 4109ba42b9
commit f2b6758bd7

View File

@@ -704,9 +704,9 @@ int CheapSqueezeInplace(char* isrc,
} }
if (FLAGS_cld_showme) { if (FLAGS_cld_showme) {
// Mark the deletion point with black square U+25A0 // Mark the deletion point with black square U+25A0
*dst++ = 0xe2; *dst++ = static_cast<signed char>(0xe2);
*dst++ = 0x96; *dst++ = static_cast<signed char>(0x96);
*dst++ = 0xa0; *dst++ = static_cast<signed char>(0xa0);
*dst++ = ' '; *dst++ = ' ';
} }
skipping = true; skipping = true;
@@ -1006,7 +1006,7 @@ void MoveLang1ToLang2(Language lang1, Language lang2,
int k = 0; int k = 0;
uint16 prior_lang = UNKNOWN_LANGUAGE; uint16 prior_lang = UNKNOWN_LANGUAGE;
for (int i = 0; i < resultchunkvector->size(); ++i) { for (int i = 0; i < static_cast<int>(resultchunkvector->size()); ++i) {
ResultChunk* rc = &(*resultchunkvector)[i]; ResultChunk* rc = &(*resultchunkvector)[i];
if (rc->lang1 == lang1) { if (rc->lang1 == lang1) {
// Update entry[i] lang1 => lang2 // Update entry[i] lang1 => lang2