[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH] d3dcompiler: Make types array static const.
From: Matteo Bruni <mbruni () codeweavers ! com>
Date: 2018-07-31 13:04:53
Message-ID: 20180731130453.13705-6-mbruni () codeweavers ! com
[Download RAW message or body]
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
---
dlls/d3dcompiler_43/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c
index b0232f375d6..748501f2074 100644
--- a/dlls/d3dcompiler_43/utils.c
+++ b/dlls/d3dcompiler_43/utils.c
@@ -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,
--
2.16.4
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic