msi: Fix some pointer to integer casts.
This commit is contained in:
parent
d5a998b38f
commit
2acf800fd4
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue