Module: wine Branch: refs/heads/master Commit: 2acf800fd49a99f2f7ce8847a55f259bc10a6fea URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2acf800fd49a99f2f7ce8847...
Author: Mike McCormack mike@codeweavers.com Date: Thu May 25 11:41:39 2006 +0900
msi: Fix some pointer to integer casts.
---
dlls/msi/action.c | 2 +- dlls/msi/database.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c index aaa5886..bf4e2b0 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -2671,7 +2671,7 @@ static BOOL CALLBACK Typelib_EnumResName sz = strlenW(tl_struct->source)+4; sz *= sizeof(WCHAR);
- if ((INT)lpszName == 1) + if ((INT_PTR)lpszName == 1) tl_struct->path = strdupW(tl_struct->source); else { diff --git a/dlls/msi/database.c b/dlls/msi/database.c index fbe1041..5ac7f48 100644 --- a/dlls/msi/database.c +++ b/dlls/msi/database.c @@ -208,7 +208,7 @@ UINT WINAPI MsiOpenDatabaseA(LPCSTR szDB goto end; } else - szwPersist = (LPWSTR)(DWORD)szPersist; + szwPersist = (LPWSTR)(DWORD_PTR)szPersist;
r = MsiOpenDatabaseW( szwDBPath, szwPersist, phDB );