intel/isl: Fix isl_color_value_unpack to match the prototype
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 30 Apr 2021 03:47:35 +0000 (22:47 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 30 Apr 2021 17:01:05 +0000 (17:01 +0000)
commitb80720acb13e1014aea89e6bd25f22d43df85356
tree837ff66c079668693a790a571bae05103374d8dc
parent1201aa9332a9b74c231bd7733b0aef5af42dc6fe
intel/isl: Fix isl_color_value_unpack to match the prototype

The prototype uses a pointer and the actual function definition had an
array.  For some reason, GCC never complained about this until GCC 11.
This fixes a compile warning when building with GCC 11.

Fixes: 09ced6542049 "intel/isl: Add format conversion code"
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10537>
src/intel/isl/isl_format.c