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

Added cast to int to silence MSVC warning.

Change-Id: I9ef4709d2e4cf0db070d9e52385c1b3f138b00a5
This commit is contained in:
Tom Finegan 2014-02-06 21:24:08 -08:00
parent 74074c9965
commit bf79a4da77

View File

@ -145,7 +145,7 @@ static const InterpKernel *get_filter_base(const int16_t *filter) {
}
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,