Fix x64 crash in Find all files (closes #954, fixes #953)

This issue has begun since d9299e644f
This commit is contained in:
Linquize 2015-09-22 22:25:35 +08:00 committed by Don Ho
parent 4836f4b004
commit 02b342f441
1 changed files with 1 additions and 1 deletions

View File

@ -3258,7 +3258,7 @@ LRESULT APIENTRY Progress::wndProc(HWND hwnd, UINT umsg, WPARAM wparam, LPARAM l
case WM_CREATE:
{
Progress* pw =(Progress*)((LPCREATESTRUCT)lparam)->lpCreateParams;
::SetWindowLongPtr(hwnd, GWLP_USERDATA, PtrToUlong(pw));
::SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)pw);
return 0;
}