diff --git a/packager/app/stream_descriptor.cc b/packager/app/stream_descriptor.cc index ef7bc0cfaf..d447e50d6b 100644 --- a/packager/app/stream_descriptor.cc +++ b/packager/app/stream_descriptor.cc @@ -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; } diff --git a/packager/mpd/base/language_utils.cc b/packager/mpd/base/language_utils.cc index eeec25cd75..8c3fefd10b 100644 --- a/packager/mpd/base/language_utils.cc +++ b/packager/mpd/base/language_utils.cc @@ -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; }