Jan Sikorski (@jsikorski) commented about dlls/d3d9/tests/visual.c:
+ hr = IDirect3D9_GetAdapterIdentifier(context.d3d, D3DADAPTER_DEFAULT, 0, &identifier); + ok(hr == S_OK, "Failed to get adapter identifier, hr %#lx.\n", hr); + + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) + { + hr = IDirect3D9_CheckDeviceFormatConversion(context.d3d, D3DADAPTER_DEFAULT, + D3DDEVTYPE_HAL, tests[i].src_format, tests[i].dst_format); + todo_wine_if (i == 5) + ok(hr == tests[i].expect_hr + || broken(tests[i].broken_warp && adapter_is_warp(&identifier) && hr == D3DERR_NOTAVAILABLE), + "Got hr %#lx for %u to %u.\n", hr, tests[i].src_format, tests[i].dst_format); + } + + for (D3DFORMAT src_format = 0; src_format < ARRAY_SIZE(all_formats); ++src_format) + { + for (D3DFORMAT dst_format = 0; dst_format < ARRAY_SIZE(all_formats); ++dst_format) You probably meant `unsigned int` here.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5816#note_74548