X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/34ea32c56d4420725dded5ec263d48e603dac539..158cb9b1b46a7b1a7f8c01171f5b32d6526a4367:/windows/window.c diff --git a/windows/window.c b/windows/window.c index e5aa45b7..97b205a7 100644 --- a/windows/window.c +++ b/windows/window.c @@ -1010,7 +1010,7 @@ static void update_mouse_pointer(void) } { HCURSOR cursor = LoadCursor(NULL, curstype); - SetClassLong(hwnd, GCL_HCURSOR, (LONG)cursor); + SetClassLongPtr(hwnd, GCLP_HCURSOR, (LONG_PTR)cursor); SetCursor(cursor); /* force redraw of cursor at current posn */ } if (force_visible != forced_visible) {