shithub: libvpx

Download patch

ref: 9a56a5ea1804f8abc9859ef8ff9d7e50326dcb8d
parent: c1e4f5a80d6d56f7227762bc76372b60fbedf46b
author: Tom Finegan <[email protected]>
date: Fri May 13 05:42:58 EDT 2016

convolve_test: Fix high bit depth IOC runtime errors.

Add a cast.

BUG=webm:1225

Change-Id: I34ea18ee816569485c1f1046a81fd2a0ce527ac8

--- a/test/convolve_test.cc
+++ b/test/convolve_test.cc
@@ -231,7 +231,8 @@
    * and filter_max_width = 16
    */
   uint16_t intermediate_buffer[71 * kMaxDimension];
-  const int intermediate_next_stride = 1 - intermediate_height * output_width;
+  const int intermediate_next_stride =
+      1 - static_cast<int>(intermediate_height * output_width);
 
   // Horizontal pass (src -> transposed intermediate).
   {