radv: avoid casting warnings on 32bit
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 5 Mar 2017 21:04:50 +0000 (23:04 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 5 Mar 2017 23:10:42 +0000 (00:10 +0100)
commit5458b02305720b6f2acdf14429ae815a2feee3c3
treea9e944645c3551dd5759c87927c52ca90257f2c5
parentfb7e4e16e726accd88fa60cd752ca29eddc958f5
radv: avoid casting warnings on 32bit

Use the same helpers as for other handle<->pointer conversions.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h