mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 18:35:41 +01:00 
			
		
		
		
	upsampling_sse2.c: clear int sanitizer warnings
clears warnings of the form: src/dsp/upsampling_sse2.c:169:1: runtime error: implicit conversion from type 'int' of value -16 (32-bit, signed) to type 'unsigned long' changed the value to 18446744073709551600 (64-bit, unsigned) Bug: b/229626362 Change-Id: I757d347808be5084e5fcf7c121a77d09812b743c
This commit is contained in:
		| @@ -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);                                                       \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user