dxgi: Only cast to a void pointer (Coverity).

This commit is contained in:
Paul Vriens 2011-03-12 13:04:41 +01:00 committed by Alexandre Julliard
parent 50d04d157f
commit a01b1a3974
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ static HRESULT register_d3d10core_layers(HMODULE d3d10core)
return E_FAIL;
}
d3d10core_register_layers = (HRESULT (WINAPI *)(void))GetProcAddress(mod, "D3D10CoreRegisterLayers");
d3d10core_register_layers = (void *)GetProcAddress(mod, "D3D10CoreRegisterLayers");
hr = d3d10core_register_layers();
if (FAILED(hr))
{