]> granicus.if.org Git - libvpx/commitdiff
datarate_test,DatarateTestLarge: normalize bits type
authorJames Zern <jzern@google.com>
Fri, 24 Jun 2016 06:29:26 +0000 (23:29 -0700)
committerJames Zern <jzern@google.com>
Fri, 24 Jun 2016 06:29:26 +0000 (23:29 -0700)
quiets a msvc warning:
conversion from 'const int64_t' to 'size_t', possible loss of data

Change-Id: I90a2ac6b040454dac7434fc9b63b98c42ea127b1

test/datarate_test.cc

index 2f1db9c6475cae28bd8394d1c7c713d3f436f749..220cbf3a386b2f43c9eca16fb7e3fa23e1550531 100644 (file)
@@ -135,7 +135,7 @@ class DatarateTestLarge : public ::libvpx_test::EncoderTest,
   double duration_;
   double file_datarate_;
   double effective_datarate_;
-  size_t bits_in_last_frame_;
+  int64_t bits_in_last_frame_;
   int denoiser_on_;
   int denoiser_offon_test_;
   int denoiser_offon_period_;