webm_parser: Enable usage of werror.

Mass warning clean up. Mainly:
- Explicit casts of numeric literals to avoid signed/unsigned compare
  warnings.
- Commenting out of unused function arg names.

Change-Id: I0e70393a5743ae984035d43712c724d4ccd12f9d
This commit is contained in:
Tom Finegan
2016-08-08 14:47:42 -07:00
parent e1fe7627c8
commit d518128266
39 changed files with 346 additions and 324 deletions

View File

@@ -71,7 +71,7 @@ class ElementParserTest : public ParserTest<T> {
std::uint64_t local_num_bytes_read = 0;
status = parser_.Feed(&callback_, &limited_reader, &local_num_bytes_read);
num_bytes_read += local_num_bytes_read;
ASSERT_GE(1, local_num_bytes_read);
ASSERT_GE(static_cast<std::uint64_t>(1), local_num_bytes_read);
} while (status.code == Status::kWouldBlock ||
status.code == Status::kOkPartial);