shithub: dav1d

Download patch

ref: 0ddaaf8e90f38e5dc2372d41e209a3123ed05e2c
parent: 67436a48ab89ed21a751fd4be6b5f92b3a5d136b
author: Henrik Gramner <gramner@twoorioles.com>
date: Tue Nov 6 18:18:38 EST 2018

Fix GCC aliasing warnings

--- a/src/ctx.h
+++ b/src/ctx.h
@@ -35,7 +35,7 @@
 union alias64 { uint64_t u64; uint8_t u8[8]; } ATTR_ALIAS;
 union alias32 { uint32_t u32; uint8_t u8[4]; } ATTR_ALIAS;
 union alias16 { uint16_t u16; uint8_t u8[2]; } ATTR_ALIAS;
-union alias8 { uint8_t u8; };
+union alias8 { uint8_t u8; } ATTR_ALIAS;
 
 #define set_ctx_rep4(type, var, off, val) do { \
         const uint64_t const_val = val; \