From d8e8517d1174e8593338329a0535da178444817a Mon Sep 17 00:00:00 2001 From: DeeJayLSP Date: Wed, 25 Jan 2023 10:24:01 -0300 Subject: libwebp: Sync with upstream 1.3.0 --- thirdparty/libwebp/src/dsp/upsampling_sse2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thirdparty/libwebp/src/dsp/upsampling_sse2.c') 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); \ -- cgit v1.2.3