ref: 11ee24825ec255c690181c3b0f64195ba358d075
parent: 10a9456ade3b7fdc5210b5f72cabab2ce8a1f12b
parent: 41e6ec4a5776016b9d9b635a4520229b7be3e83e
author: Deb Mukherjee <[email protected]>
date: Mon Sep 15 05:50:17 EDT 2014
Merge "Visual Studio build (warning) fix"
--- a/test/fdct8x8_test.cc
+++ b/test/fdct8x8_test.cc
@@ -373,7 +373,7 @@
reference_8x8_dct_2d(in, out_r);
for (int j = 0; j < kNumCoeffs; ++j)
- coeff[j] = round(out_r[j]);
+ coeff[j] = static_cast<tran_low_t>(round(out_r[j]));
if (bit_depth_ == VPX_BITS_8) {
ASM_REGISTER_STATE_CHECK(RunInvTxfm(coeff, dst, pitch_));
@@ -416,7 +416,7 @@
RunFwdTxfm(in, coeff, pitch_);
reference_8x8_dct_2d(in, out_r);
for (int j = 0; j < kNumCoeffs; ++j)
- coeff_r[j] = round(out_r[j]);
+ coeff_r[j] = static_cast<tran_low_t>(round(out_r[j]));
for (int j = 0; j < kNumCoeffs; ++j) {
const uint32_t diff = coeff[j] - coeff_r[j];