win64: misc pointer truncation fixes

This commit is contained in:
HappyDOGE
2023-01-16 11:56:05 +03:00
parent bc909e9f96
commit bfb5b44d38
5 changed files with 6 additions and 6 deletions

View File

@@ -425,7 +425,7 @@ DWORD __stdcall DownloadThread( void *voidPtr )
//Thread_DPrintf( "Requesting full download\n%s", headers );
}
rc.hDataResource = InternetOpenUrl(rc.hOpenResource, fullURL, headerPtr, headerLen, flags,(DWORD)(&rc) );
rc.hDataResource = InternetOpenUrl(rc.hOpenResource, fullURL, headerPtr, headerLen, flags, (DWORD_PTR)(&rc) );
// send the request off
if ( !rc.hDataResource )