dxgi: Avoid LPCSTR.

This commit is contained in:
Henri Verbeet 2013-09-16 10:57:27 +02:00 committed by Alexandre Julliard
parent dbdde3bd4b
commit e032d013d7
1 changed files with 1 additions and 2 deletions

View File

@ -131,8 +131,7 @@ static HRESULT register_d3d10core_layers(HMODULE d3d10core)
HMODULE mod; HMODULE mod;
BOOL ret; BOOL ret;
ret = GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, (LPCSTR)d3d10core, &mod); if (!(ret = GetModuleHandleExA(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, (const char *)d3d10core, &mod)))
if (!ret)
{ {
LeaveCriticalSection(&dxgi_cs); LeaveCriticalSection(&dxgi_cs);
return E_FAIL; return E_FAIL;