mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:01:17 +00:00
msi: Fix pointer cast warnings on 64-bit.
This commit is contained in:
parent
c9ee551efd
commit
81ecd7041a
|
@ -1731,9 +1731,9 @@ static HRESULT WINAPI InstallerImpl_Invoke(
|
|||
|
||||
if (V_I4(&varg0) >= REG_INDEX_CLASSES_ROOT &&
|
||||
V_I4(&varg0) <= REG_INDEX_DYN_DATA)
|
||||
V_I4(&varg0) |= (UINT)HKEY_CLASSES_ROOT;
|
||||
V_I4(&varg0) |= (UINT_PTR)HKEY_CLASSES_ROOT;
|
||||
|
||||
ret = RegOpenKeyW((HKEY)V_I4(&varg0), V_BSTR(&varg1), &hkey);
|
||||
ret = RegOpenKeyW((HKEY)(UINT_PTR)V_I4(&varg0), V_BSTR(&varg1), &hkey);
|
||||
|
||||
/* Third parameter can be VT_EMPTY, VT_I4, or VT_BSTR */
|
||||
switch (V_VT(&varg2))
|
||||
|
|
Loading…
Reference in a new issue