dxgi/tests: Fix signed integral cast warning.
First cast to LONG, then to DWORD. Reported by MinGW GCC 10 with -Woverflow. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4e94e21060
commit
abced34e67
|
@ -1103,7 +1103,7 @@ static void test_check_interface_support(void)
|
|||
|
||||
hr = IDXGIAdapter_CheckInterfaceSupport(adapter, &IID_ID3D11Device, NULL);
|
||||
ok(hr == DXGI_ERROR_UNSUPPORTED, "Got unexpected hr %#x.\n", hr);
|
||||
driver_version.HighPart = driver_version.LowPart = 0xdeadbeef;
|
||||
driver_version.LowPart = driver_version.HighPart = 0xdeadbeef;
|
||||
hr = IDXGIAdapter_CheckInterfaceSupport(adapter, &IID_ID3D11Device, &driver_version);
|
||||
ok(hr == DXGI_ERROR_UNSUPPORTED, "Got unexpected hr %#x.\n", hr);
|
||||
ok(driver_version.HighPart == 0xdeadbeef, "Got unexpected driver version %#x.\n", driver_version.HighPart);
|
||||
|
|
Loading…
Reference in New Issue