Fix cast in Windows TaskBar

This commit is contained in:
Andrew Nelless 2016-09-12 16:13:35 +01:00
parent 7e386c0bf9
commit 702f095efd
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ ArchTaskBarWindows::staticWndProc(HWND hwnd, UINT msg,
createInfo = reinterpret_cast<CREATESTRUCT*>(lParam);
self = static_cast<ArchTaskBarWindows*>(
createInfo->lpCreateParams);
SetWindowLongPtr(hwnd, 0, self);
SetWindowLongPtr(hwnd, 0, reinterpret_cast<LONG_PTR>(createInfo->lpCreateParams));
}
else {
// get the extra window data and forward the call