Commit bf79a4da authored by Tom Finegan's avatar Tom Finegan

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

Added cast to int to silence MSVC warning.

Change-Id: I9ef4709d2e4cf0db070d9e52385c1b3f138b00a5
parent 74074c99
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment