summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/src/dsp/upsampling_sse2.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-10 18:44:23 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-10 18:44:23 +0100
commitac683301302ef02eeb5045e9a7e80587ae9760dd (patch)
treecbdaa505744c1eb2a5a2fb2265d29fa92f0f3cfd /thirdparty/libwebp/src/dsp/upsampling_sse2.c
parente52a2e3864741bba58ba07e89220830201b54266 (diff)
parentd8e8517d1174e8593338329a0535da178444817a (diff)
Merge pull request #72045 from DeeJayLSP/update_libwebp
libwebp: Sync with upstream 1.3.0
Diffstat (limited to 'thirdparty/libwebp/src/dsp/upsampling_sse2.c')
-rw-r--r--thirdparty/libwebp/src/dsp/upsampling_sse2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/libwebp/src/dsp/upsampling_sse2.c b/thirdparty/libwebp/src/dsp/upsampling_sse2.c
index 340f1e2ac2..08b6d0b1cf 100644
--- a/thirdparty/libwebp/src/dsp/upsampling_sse2.c
+++ b/thirdparty/libwebp/src/dsp/upsampling_sse2.c
@@ -121,7 +121,7 @@ static void FUNC_NAME(const uint8_t* top_y, const uint8_t* bottom_y, \
int uv_pos, pos; \
/* 16byte-aligned array to cache reconstructed u and v */ \
uint8_t uv_buf[14 * 32 + 15] = { 0 }; \
- uint8_t* const r_u = (uint8_t*)((uintptr_t)(uv_buf + 15) & ~15); \
+ uint8_t* const r_u = (uint8_t*)((uintptr_t)(uv_buf + 15) & ~(uintptr_t)15); \
uint8_t* const r_v = r_u + 32; \
\
assert(top_y != NULL); \