summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/src/dsp/upsampling_sse2.c
diff options
context:
space:
mode:
authorDeeJayLSP <djlsplays@gmail.com>2023-01-25 10:24:01 -0300
committerDeeJayLSP <djlsplays@gmail.com>2023-01-25 10:38:03 -0300
commitd8e8517d1174e8593338329a0535da178444817a (patch)
tree40cc35c11f5ae4813e8f9f8340f7771800704d03 /thirdparty/libwebp/src/dsp/upsampling_sse2.c
parent6369196b9698c92854bb4dba458ad0b099965d8f (diff)
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); \