wgl: silence some cast-warnings
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 15 Apr 2020 19:11:44 +0000 (21:11 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Apr 2020 14:48:40 +0000 (14:48 +0000)
commit522bb081314131340804a160d5d53f2fbe9a10be
tree49f2ed7020b78f9d6292790bd41c508c2d4d1d2c
parente9ad8af6f377a3afb5cbfb8d1844887af6894ea7
wgl: silence some cast-warnings

These casts cause warnings on x64. We're passing integers through
pointers, which works fine.

So let's make the casts a bit more explicit, to silence that warning.

Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4577>
src/gallium/state_trackers/wgl/stw_ext_context.c
src/gallium/state_trackers/wgl/stw_wgl.c