mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue