st/nine: Fix incompatible-pointer-types-discards-qualifiers errors.
authorVinson Lee <vlee@freedesktop.org>
Mon, 2 Mar 2020 05:38:18 +0000 (21:38 -0800)
committerVinson Lee <vlee@freedesktop.org>
Mon, 9 Mar 2020 22:37:54 +0000 (15:37 -0700)
commit5ffa6eab88332982466f7ba420eb804ed7f97694
tree656115099f4650e801f929a902313aa619323bf4
parentc1b8e84961066a25e0950e7965285b47df4bb97f
st/nine: Fix incompatible-pointer-types-discards-qualifiers errors.

../src/gallium/state_trackers/nine/nine_ff.c:129:28: error: initializing 'struct nine_ff_vs_key *' with an expression of type 'const void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
    struct nine_ff_vs_key *vs = key;
                           ^    ~~~
../src/gallium/state_trackers/nine/nine_ff.c:145:28: error: initializing 'struct nine_ff_ps_key *' with an expression of type 'const void *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
    struct nine_ff_ps_key *ps = key;
                           ^    ~~~

Fixes: fdd96578ef2d ("nine: Add state tracker nine for Direct3D9 (v3)")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Andre Heider <a.heider@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4015>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4015>
src/gallium/state_trackers/nine/nine_ff.c