<div dir="ltr"><div>to be more precise, <br></div><div>gcc11 complains with:</div><div>/home/eric/work/wine/dlls/d3dx9_36/tests/effect.c: In function 'test_effect_parameter_value_GetMatrixPointerArray':<br>/home/eric/work/wine/dlls/d3dx9_36/tests/effect.c:1478:52: warning: expression does not compute the number of elements in this array; element type is 'FLOAT' {aka 'float'}, not 'D3DXMATRIX' {aka 'struct _D3DMATRIX'} [-Wsizeof-array-div]<br> 1478 |     D3DXMATRIX *matrix_pointer_array[sizeof(fvalue)/sizeof(D3DXMATRIX)];<br>      |                                                    ^<br>/home/eric/work/wine/dlls/d3dx9_36/tests/effect.c:1478:52: note: add parentheses around the second 'sizeof' to silence this warning<br>/home/eric/work/wine/dlls/d3dx9_36/tests/effect.c:1477:11: note: array 'fvalue' declared here<br> 1477 |     FLOAT fvalue[EFFECT_PARAMETER_VALUE_ARRAY_SIZE];<br>      |           ^~~~~~</div><div><br></div><div>so the patch mainly silences GCC11 by following gcc advice of adding parenthesis</div><div>A+<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Sept 2021 at 23:03, Marvin <<a href="mailto:testbot@winehq.org">testbot@winehq.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thank you for your contribution to Wine!<br>
<br>
This is an automated notification to let you know that your patch has<br>
been reviewed and its status set to "Assigned".<br>
<br>
This means that the patch has been assigned to a reviewer. If the<br>
reviewer signs off on the patch, it will be committed, otherwise<br>
you'll receive advice on how to improve it. If you don't hear anything<br>
after a couple of weeks, please resend the patch.<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">-- <br>Eric Pouech</div>