shithub: libvpx

Download patch

ref: 75c2c84bb50d7b03c650595888284fec8ef820f7
parent: 035acac0081b245bbb9671d4ab1d0fbd97583914
parent: 00c385f17af4dd0a79ac9f68932efbecef1067a3
author: James Zern <jzern@google.com>
date: Fri Nov 14 15:26:28 EST 2014

Merge "Visual studio build fix using explicit cast"

--- a/test/sad_test.cc
+++ b/test/sad_test.cc
@@ -254,12 +254,12 @@
       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<uint8_t>(fill_constant);
         } else {
           data16[h * stride + w] = fill_constant;
         }
 #else
-        data[h * stride + w] = fill_constant;
+        data[h * stride + w] = static_cast<uint8_t>(fill_constant);
 #endif
       }
     }