mesa: fixup cast expression
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 15 Apr 2020 20:26:59 +0000 (22:26 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Apr 2020 14:48:40 +0000 (14:48 +0000)
commitb55b033f7624171d82ae1f79f3d3ad058ae0ac56
tree0fc75935dd223324bc5dbb8229169490f68de9b2
parentc55fc3543537fdc7b402584a076eb87d258b4c51
mesa: fixup cast expression

This cast-expression was meant to cast the result of the terniary
expression, but it just casted the condition expression instead. Let's
correct this, to silence a compiler-warning.

Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4577>
src/mesa/main/varray.c