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

This issue has begun since d9299e644f
pull/954/merge
Linquize 9 years ago committed by Don Ho
parent 4836f4b004
commit 02b342f441

@ -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;
}

Loading…
Cancel
Save