d3d10/tests: Increase size of array expected_i_a in test_scalar_array_methods (cppcheck).

This array is accessed at index 5 on line 5138.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2021-12-22 01:52:04 -07:00 committed by Alexandre Julliard
parent 86eaf7eeb2
commit e17ad3d6cb

View file

@ -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;