radv: fix some compiler warnings
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 30 May 2019 14:55:11 +0000 (15:55 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 4 Jun 2019 16:30:53 +0000 (17:30 +0100)
commitd4a2f8b33bead997e5629eb3f15c3632e930022d
treed4c203a3ca4c8dc11803eea2acf2fa0e07fa754a
parenta84de3fb7c1198f7cbd3b20a4231c14a7010f97f
radv: fix some compiler warnings

Fixes -Woverflow warnings with GCC 9.1.1

v2: use a cast instead of a bitwise and

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-By: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/si_cmd_buffer.c