diff options
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/syswinwrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embedserv/source/embed/syswinwrapper.cxx b/embedserv/source/embed/syswinwrapper.cxx index 424b24f98310..7670a640d4fb 100644 --- a/embedserv/source/embed/syswinwrapper.cxx +++ b/embedserv/source/embed/syswinwrapper.cxx @@ -393,14 +393,14 @@ LRESULT APIENTRY winwrap::HatchWndProc( HDC hDC; PAINTSTRUCT ps; - phw=(PCHatchWin)GetWindowLong(hWnd, HWWL_STRUCTURE); + phw=(PCHatchWin)GetWindowLongPtr(hWnd, HWWL_STRUCTURE); POINT ptMouse; switch (iMsg) { case WM_CREATE: phw=(PCHatchWin)((LPCREATESTRUCT)lParam)->lpCreateParams; - SetWindowLong(hWnd, HWWL_STRUCTURE, (LONG)phw); + SetWindowLongPtr(hWnd, HWWL_STRUCTURE, (LONG_PTR)phw); break; case WM_PAINT: hDC=BeginPaint(hWnd,&ps); |