[PATCH] d3d10/tests: Increase size of array expected_i_a in test_scalar_array_methods (cppcheck)
Alex Henrie
alexhenrie24 at gmail.com
Wed Dec 22 02:52:04 CST 2021
This array is accessed at index 5 on line 5138.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
dlls/d3d10/tests/effect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d10/tests/effect.c b/dlls/d3d10/tests/effect.c
index ddc24d66e20..51675bcdab3 100644
--- a/dlls/d3d10/tests/effect.c
+++ b/dlls/d3d10/tests/effect.c
@@ -4974,7 +4974,7 @@ static void test_scalar_array_methods(ID3D10EffectScalarVariable *var, D3D10_SHA
const char *name)
{
float set_f[2], ret_f[2], expected_f;
- int set_i[6], ret_i[6], expected_i, expected_i_a[2];
+ int set_i[6], ret_i[6], expected_i, expected_i_a[6];
BOOL set_b[2], ret_b[2], expected_b, expected_b_a[6];
unsigned int i;
HRESULT hr;
--
2.34.1
More information about the wine-devel
mailing list