wine/dlls/d3dx9_36
Eric Pouech c868941478 d3dx9/tests: Avoid a GCC warning (-Wsizeof-array-div).
Follow GCC recommendations for getting rid of it.

MingW/GCC (11.3, 12.x) complains with:
/home/eric/work/wine/dlls/d3dx9_36/tests/effect.c: In function 'test_effect_parameter_value':
/home/eric/work/wine/dlls/d3dx9_36/tests/effect.c:1838:71: warning: expression does not compute the number of elements in this array; element type is 'DWORD' {aka 'long unsigned int'}, not 'D3DXMATRIX' {aka 'struct _D3DMATRIX'} [-Wsizeof-array-div]
 1838 |             const D3DXMATRIX *matrix_pointer_array[sizeof(input_value)/sizeof(D3DXMATRIX)];
      |                                                                       ^
/home/eric/work/wine/dlls/d3dx9_36/tests/effect.c:1838:71: note: add parentheses around the second 'sizeof' to silence this warning
/home/eric/work/wine/dlls/d3dx9_36/tests/effect.c:1835:19: note: array 'input_value' declared here
 1835 |             DWORD input_value[EFFECT_PARAMETER_VALUE_ARRAY_SIZE];
      |                   ^~~~~~~~~~~

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-12-12 23:12:42 +01:00
..
tests d3dx9/tests: Avoid a GCC warning (-Wsizeof-array-div). 2022-12-12 23:12:42 +01:00
animation.c
core.c
d3dx9_36.spec
d3dx9_private.h d3dx9/effect: Split parameters data from effect object. 2022-12-01 20:36:05 +01:00
effect.c d3dx9/effect: Split parameters data from effect object. 2022-12-01 20:36:05 +01:00
font.c
line.c
main.c
Makefile.in
math.c
mesh.c
preshader.c d3dx9/effect: Split parameters data from effect object. 2022-12-01 20:36:05 +01:00
render.c
shader.c
skin.c
sprite.c
surface.c
texture.c
txc_compress_dxtn.c
txc_dxtn.h
txc_fetch_dxtn.c
util.c
version.rc
volume.c
xfile.c