Just fyi I have not tested this, however it should fix the problem highlighted. Please kindly Review, Edward O'Callaghan (1): [PATCH] virgl: Fix a strict-aliasing violation in the encoder