On 18 December 2017 at 11:12, Alexandre Julliard julliard@winehq.org wrote:
diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index c306c4db1a32..b8ac74919f89 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -10132,6 +10132,23 @@ static void test_surface_desc_size(void) IDirectDrawSurface_Release(surface); }
- /* GetDisplayMode() */
- for (j = 0; j < sizeof(desc_sizes) / sizeof(*desc_sizes); ++j)
We have an ARRAY_SIZE macro in the ddraw tests.