From 24e92963007cb9747a75f41f985af41387dae783 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 29 Apr 2013 07:39:38 +0200 Subject: Make compatible with 64bit windows. --- plugingui/nativewindow_win32.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui') diff --git a/plugingui/nativewindow_win32.cc b/plugingui/nativewindow_win32.cc index 34e18fa..d3c5a23 100644 --- a/plugingui/nativewindow_win32.cc +++ b/plugingui/nativewindow_win32.cc @@ -87,7 +87,7 @@ GUI::NativeWindowWin32::NativeWindowWin32(GlobalContext *gctx, wndId, NULL, GetModuleHandle(NULL), NULL); - SetWindowLong(gctx->m_hwnd, GWL_USERDATA, (LONG)gctx->eventhandler); + SetWindowLongPtr(gctx->m_hwnd, GWL_USERDATA, (LONG_PTR)gctx->eventhandler); } GUI::NativeWindowWin32::~NativeWindowWin32() -- cgit v1.2.3