[RAPPS] 64bit compatibility fix (#2748)

Change SetWindowLongW to SetWindowLongPtrW.

It's the same (because the value is 0) but I think it's better.
This commit is contained in:
He Yang 2020-05-07 17:08:08 +08:00 committed by GitHub
parent 8ae1702a16
commit a7b111f550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ INT_PTR CALLBACK CDownloadManager::DownloadDlgProc(HWND Dlg, UINT uMsg, WPARAM w
SendMessageW(Dlg, WM_SETICON, ICON_SMALL, (LPARAM) hIconSm);
}
SetWindowLongW(Dlg, GWLP_USERDATA, 0);
SetWindowLongPtrW(Dlg, GWLP_USERDATA, 0);
HWND Item = GetDlgItem(Dlg, IDC_DOWNLOAD_PROGRESS);
if (Item)
{