http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2cef54
)
msi/tests: Fix pointer casting warnings on 64-bit.
author
Alexandre Julliard
<julliard@winehq.org>
Sat, 3 Jan 2009 19:13:45 +0000
(20:13 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Sat, 3 Jan 2009 19:13:45 +0000
(20:13 +0100)
dlls/msi/tests/automation.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/msi/tests/automation.c
b/dlls/msi/tests/automation.c
index 9568fbf75f4e54b1656c30465af9866e32d0ea87..1c392cbf38a02ab4e7e11bfefc9e971f0388d981 100644
(file)
--- a/
dlls/msi/tests/automation.c
+++ b/
dlls/msi/tests/automation.c
@@
-723,7
+723,7
@@
static HRESULT Installer_RegistryValue(HKEY hkey, LPCWSTR szKey, VARIANT vValue,
VariantInit(&vararg[2]);
V_VT(&vararg[2]) = VT_I4;
- V_I4(&vararg[2]) = (
int
)hkey;
+ V_I4(&vararg[2]) = (
INT_PTR
)hkey;
VariantInit(&vararg[1]);
V_VT(&vararg[1]) = VT_BSTR;
V_BSTR(&vararg[1]) = SysAllocString(szKey);
@@
-2401,7
+2401,7
@@
static void test_Installer(void)
}
/* Installer::OpenDatabase */
- hr = Installer_OpenDatabase(szPath, (
int
)MSIDBOPEN_TRANSACT, &pDatabase);
+ hr = Installer_OpenDatabase(szPath, (
INT_PTR
)MSIDBOPEN_TRANSACT, &pDatabase);
ok(hr == S_OK, "Installer_OpenDatabase failed, hresult 0x%08x\n", hr);
if (hr == S_OK)
{