d3dcompiler: Make types array static const.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2018-07-31 15:04:53 +02:00 committed by Alexandre Julliard
parent 84c39c2760
commit 4d1c8a8bff
1 changed files with 1 additions and 1 deletions

View File

@ -1154,7 +1154,7 @@ static BOOL expr_compatible_data_types(struct hlsl_type *t1, struct hlsl_type *t
static enum hlsl_base_type expr_common_base_type(enum hlsl_base_type t1, enum hlsl_base_type t2)
{
enum hlsl_base_type types[] =
static const enum hlsl_base_type types[] =
{
HLSL_TYPE_BOOL,
HLSL_TYPE_INT,