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

@@ -28,7 +28,7 @@ TEST_F(TimeSliceParserTest, DefaultParse) {
const TimeSlice time_slice = parser_.value();
EXPECT_FALSE(time_slice.lace_number.is_present());
EXPECT_EQ(0, time_slice.lace_number.value());
EXPECT_EQ(static_cast<std::uint64_t>(0), time_slice.lace_number.value());
}
TEST_F(TimeSliceParserTest, DefaultValues) {
@@ -42,7 +42,7 @@ TEST_F(TimeSliceParserTest, DefaultValues) {
const TimeSlice time_slice = parser_.value();
EXPECT_TRUE(time_slice.lace_number.is_present());
EXPECT_EQ(0, time_slice.lace_number.value());
EXPECT_EQ(static_cast<std::uint64_t>(0), time_slice.lace_number.value());
}
TEST_F(TimeSliceParserTest, CustomValues) {
@@ -57,7 +57,7 @@ TEST_F(TimeSliceParserTest, CustomValues) {
const TimeSlice time_slice = parser_.value();
EXPECT_TRUE(time_slice.lace_number.is_present());
EXPECT_EQ(1, time_slice.lace_number.value());
EXPECT_EQ(static_cast<std::uint64_t>(1), time_slice.lace_number.value());
}
} // namespace