msi: Fix some pointer to integer casts.

This commit is contained in:
Mike McCormack 2006-05-25 11:41:39 +09:00 committed by Alexandre Julliard
parent d5a998b38f
commit 2acf800fd4
2 changed files with 2 additions and 2 deletions

View File

@ -2671,7 +2671,7 @@ static BOOL CALLBACK Typelib_EnumResNameProc( HMODULE hModule, LPCWSTR lpszType,
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
{

View File

@ -208,7 +208,7 @@ UINT WINAPI MsiOpenDatabaseA(LPCSTR szDBPath, LPCSTR szPersist, MSIHANDLE *phDB)
goto end;
}
else
szwPersist = (LPWSTR)(DWORD)szPersist;
szwPersist = (LPWSTR)(DWORD_PTR)szPersist;
r = MsiOpenDatabaseW( szwDBPath, szwPersist, phDB );