ref: 6042d68851dde2a2924cdc7dc09bd6e312f977b5
parent: 512b67f0239dc31cbf7b0b5b68227924b1728bde
author: Tom Finegan <[email protected]>
date: Fri May 6 05:43:37 EDT 2016
convolve_test: Fix IOC runtime errors. Add a cast. BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1216 Change-Id: I40627de387bc9cfba37860e7a0a4f2d4524f3431
--- a/test/convolve_test.cc
+++ b/test/convolve_test.cc
@@ -118,7 +118,8 @@
// and filter_max_width = 16
//
uint8_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).
uint8_t *output_ptr = intermediate_buffer;