panfrost: Fix 32-bit warning for `indices`
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 24 Jan 2020 13:26:38 +0000 (08:26 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jan 2020 18:53:31 +0000 (18:53 +0000)
commite39c52787e89225343032fecd628988f39d9b442
treed5bd4c66667f9a5d289c81b304ae4f6cd758524c
parent58aa2b8cfc62044bfa35ee2f9e50559af0e6c7e0
panfrost: Fix 32-bit warning for `indices`

../src/gallium/drivers/panfrost/pan_context.c: In function ‘panfrost_draw_vbo’:
../src/gallium/drivers/panfrost/pan_context.c:1551:70: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
                 ctx->payloads[PIPE_SHADER_FRAGMENT].prefix.indices = (u64) NULL;
                                                                      ^

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reported-by: Icecream95 <ixn@keemail.me>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3543>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3543>
src/gallium/drivers/panfrost/pan_context.c