Commit a01b1a39 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

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

parent 50d04d15
...@@ -146,7 +146,7 @@ static HRESULT register_d3d10core_layers(HMODULE d3d10core) ...@@ -146,7 +146,7 @@ static HRESULT register_d3d10core_layers(HMODULE d3d10core)
return E_FAIL; return E_FAIL;
} }
d3d10core_register_layers = (HRESULT (WINAPI *)(void))GetProcAddress(mod, "D3D10CoreRegisterLayers"); d3d10core_register_layers = (void *)GetProcAddress(mod, "D3D10CoreRegisterLayers");
hr = d3d10core_register_layers(); hr = d3d10core_register_layers();
if (FAILED(hr)) if (FAILED(hr))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment