shithub: libvpx

Download patch

ref: bf79a4da77e26e21567f89079236d42a99bc62e2
parent: 74074c9965278f20cef0e347ccfcd2f2068f41c9
author: Tom Finegan <tomfinegan@google.com>
date: Thu Feb 6 16:24:08 EST 2014

vp9/common: Silence MSVC warning in vp9_convolve.c.

Added cast to int to silence MSVC warning.

Change-Id: I9ef4709d2e4cf0db070d9e52385c1b3f138b00a5

--- a/vp9/common/vp9_convolve.c
+++ b/vp9/common/vp9_convolve.c
@@ -145,7 +145,7 @@
 }
 
 static int get_filter_offset(const int16_t *f, const InterpKernel *base) {
-  return (const InterpKernel *)(intptr_t)f - base;
+  return (int)((const InterpKernel *)(intptr_t)f - base);
 }
 
 void vp9_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride,