hlink: Cast-qual warnings fix.

This commit is contained in:
Andrew Talbot 2006-09-14 12:51:48 +01:00 committed by Alexandre Julliard
parent 2ade49bf08
commit 752600b314
1 changed files with 2 additions and 2 deletions

View File

@ -382,8 +382,8 @@ static HRESULT register_clsid(LPCGUID guid)
if (r != ERROR_SUCCESS)
return E_FAIL;
RegSetValueExW(key, NULL, 0, REG_SZ, (LPBYTE)hlink, sizeof hlink);
RegSetValueExW(key, threading_model, 0, REG_SZ, (LPBYTE)apartment, sizeof apartment);
RegSetValueExW(key, NULL, 0, REG_SZ, (const BYTE *)hlink, sizeof hlink);
RegSetValueExW(key, threading_model, 0, REG_SZ, (const BYTE *)apartment, sizeof apartment);
RegCloseKey(key);
return S_OK;