From 2afd69d1565a6fde99cc47af30b5fd3cf864fec5 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 8 Feb 2022 19:48:46 +0100 Subject: [PATCH] d3d10: Store the type fields in parse_fx10_type() as uint32_t. In particular, d3d10_variable_type() takes an integer flags pointer. Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/d3d10/effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index 4759dea5ee9..68afc061d1e 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -1402,7 +1402,7 @@ static D3D10_SHADER_VARIABLE_TYPE d3d10_variable_type(DWORD t, BOOL is_object, static HRESULT parse_fx10_type(const char *data, size_t data_size, DWORD offset, struct d3d10_effect_type *t) { - DWORD typeinfo, type_flags, type_kind; + uint32_t typeinfo, type_flags, type_kind; const char *ptr; unsigned int i;