projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74074c9
)
vp9/common: Silence MSVC warning in vp9_convolve.c.
author
Tom Finegan
<tomfinegan@google.com>
Fri, 7 Feb 2014 05:24:08 +0000
(21:24 -0800)
committer
Tom Finegan
<tomfinegan@google.com>
Fri, 7 Feb 2014 18:13:57 +0000
(10:13 -0800)
Added cast to int to silence MSVC warning.
Change-Id: I9ef4709d2e4cf0db070d9e52385c1b3f138b00a5
vp9/common/vp9_convolve.c
patch
|
blob
|
history
diff --git
a/vp9/common/vp9_convolve.c
b/vp9/common/vp9_convolve.c
index
3807ccc
..
d30e0b4
100644
(file)
--- a/
vp9/common/vp9_convolve.c
+++ b/
vp9/common/vp9_convolve.c
@@
-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,