https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a7b111f5503e216bbcbb3c...
commit a7b111f5503e216bbcbb3c0070c2ff2fa112aa34 Author: He Yang 1160386205@qq.com AuthorDate: Thu May 7 17:08:08 2020 +0800 Commit: GitHub noreply@github.com CommitDate: Thu May 7 18:08:08 2020 +0900
[RAPPS] 64bit compatibility fix (#2748)
Change SetWindowLongW to SetWindowLongPtrW.
It's the same (because the value is 0) but I think it's better. --- base/applications/rapps/loaddlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/rapps/loaddlg.cpp b/base/applications/rapps/loaddlg.cpp index b40d69288f7..69d4ecdc93b 100644 --- a/base/applications/rapps/loaddlg.cpp +++ b/base/applications/rapps/loaddlg.cpp @@ -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) {