GetWindowLongPtr returns a LONG_PTR, so be it

svn path=/trunk/; revision=42322
This commit is contained in:
Gregor Schneider 2009-08-01 11:32:48 +00:00
parent 7163d097d0
commit f8ffccf7de

View file

@ -1148,7 +1148,7 @@ User32DefWindowProc(HWND hWnd,
else
{
POINT Pt;
DWORD Style;
LONG_PTR Style;
LONG HitCode;
Style = GetWindowLongPtrW(hWnd, GWL_STYLE);
@ -1352,7 +1352,7 @@ User32DefWindowProc(HWND hWnd,
case WM_SETCURSOR:
{
ULONG Style = GetWindowLongPtrW(hWnd, GWL_STYLE);
LONG_PTR Style = GetWindowLongPtrW(hWnd, GWL_STYLE);
if (Style & WS_CHILD)
{