mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[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:
@@ -404,7 +404,7 @@ INT_PTR CALLBACK CDownloadManager::DownloadDlgProc(HWND Dlg, UINT uMsg, WPARAM w
|
|||||||
SendMessageW(Dlg, WM_SETICON, ICON_SMALL, (LPARAM) hIconSm);
|
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);
|
HWND Item = GetDlgItem(Dlg, IDC_DOWNLOAD_PROGRESS);
|
||||||
if (Item)
|
if (Item)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user