From: Deb Mukherjee Date: Fri, 14 Nov 2014 23:12:01 +0000 (-0800) Subject: Visual studio build fix using explicit cast X-Git-Tag: v1.4.0~500^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00c385f17af4dd0a79ac9f68932efbecef1067a3;p=libvpx Visual studio build fix using explicit cast Change-Id: If74510370723e497f4f33d988b8b398124edf69b --- diff --git a/test/sad_test.cc b/test/sad_test.cc index c7eadddc7..615aad469 100644 --- a/test/sad_test.cc +++ b/test/sad_test.cc @@ -254,12 +254,12 @@ class SADTestBase : public ::testing::Test { for (int w = 0; w < width_; ++w) { #if CONFIG_VP9_HIGHBITDEPTH if (!use_high_bit_depth_) { - data8[h * stride + w] = fill_constant; + data8[h * stride + w] = static_cast(fill_constant); } else { data16[h * stride + w] = fill_constant; } #else - data[h * stride + w] = fill_constant; + data[h * stride + w] = static_cast(fill_constant); #endif } }