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

@@ -547,10 +547,11 @@ class BasicBlockParserTest : public ElementParserTest<T, id> {
// Incremental parsing will call OnFrame once for every byte, plus
// maybe one more time if the first call reads zero bytes (if the reader
// is
// blocked).
// is blocked).
const int this_frame_size = static_cast<int>(frame_size);
EXPECT_CALL(callback_, OnFrame(metadata, NotNull(), NotNull()))
.Times(incremental ? Between(frame_size, frame_size + 1) : Exactly(1))
.Times(incremental ? Between(this_frame_size, this_frame_size + 1) :
Exactly(1))
.WillRepeatedly(Invoke(frame_handler));
metadata.position += metadata.size;