mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:58:20 +00:00
devenum: Remove unneeded cast.
This commit is contained in:
parent
39b99d47ad
commit
b8e10c75fd
|
@ -459,7 +459,7 @@ static HRESULT DEVENUM_CreateSpecialCategories(void)
|
|||
OLECHAR wszVfwIndex[] = { 'V','F','W','I','n','d','e','x',0 };
|
||||
VARIANT var;
|
||||
V_VT(&var) = VT_I4;
|
||||
V_UNION(&var, ulVal) = (ULONG)i;
|
||||
V_UNION(&var, ulVal) = i;
|
||||
res = IMoniker_BindToStorage(pMoniker, NULL, NULL, &IID_IPropertyBag, (LPVOID)&pPropBag);
|
||||
if (SUCCEEDED(res))
|
||||
res = IPropertyBag_Write(pPropBag, wszVfwIndex, &var);
|
||||
|
|
Loading…
Reference in a new issue