Fix signedness in DCHECKs.

Change-Id: I7d11c7b7380021c07fd9849c298ce0329b7bf6dd
This commit is contained in:
Joey Parrish 2015-02-04 10:51:54 -08:00
parent 3cc86c62b5
commit dddff135cf
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ bool InsertStreamDescriptor(const std::string& descriptor_string,
LOG(ERROR) << "Unknown/invalid language specified: " << iter->second;
return false;
}
DCHECK_EQ(3, language.size());
DCHECK_EQ(3u, language.size());
descriptor.language = language;
break;
}

View File

@ -89,7 +89,7 @@ std::string LanguageToShortestForm(const std::string& language) {
// This could happen legitimately for languages which have no 2-letter code,
// but that would imply that the input language code is a 3-letter code.
DCHECK_EQ(3, language.size());
DCHECK_EQ(3u, language.size());
return language;
}