devenum: Remove unneeded cast.

This commit is contained in:
Andrew Talbot 2007-12-06 20:58:39 +00:00 committed by Alexandre Julliard
parent 39b99d47ad
commit b8e10c75fd
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ static HRESULT DEVENUM_CreateSpecialCategories(void)
OLECHAR wszVfwIndex[] = { 'V','F','W','I','n','d','e','x',0 }; OLECHAR wszVfwIndex[] = { 'V','F','W','I','n','d','e','x',0 };
VARIANT var; VARIANT var;
V_VT(&var) = VT_I4; 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); res = IMoniker_BindToStorage(pMoniker, NULL, NULL, &IID_IPropertyBag, (LPVOID)&pPropBag);
if (SUCCEEDED(res)) if (SUCCEEDED(res))
res = IPropertyBag_Write(pPropBag, wszVfwIndex, &var); res = IPropertyBag_Write(pPropBag, wszVfwIndex, &var);