diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-19 22:31:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 08:46:56 +0100 |
commit | fa257a38b0d41cbfa9a9c1535761b406bff6adb5 (patch) | |
tree | 6a332fb8f493fc0ddcd88d7718b715351033b777 /embedserv/source | |
parent | 04277e7bcf2c7b2dd507b5765d069dc437d650ed (diff) |
Use Get/SetWindowLongPtr, for 64-bit build
Change-Id: I02e5ca8dad87c24f8bf6e192a6b37ffc82a5a04a
Diffstat (limited to 'embedserv/source')
-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); |