summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-04-29 07:39:38 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-04-29 07:39:38 +0200
commit24e92963007cb9747a75f41f985af41387dae783 (patch)
tree6b7340d345e75edcd931d9723ea1cca45c915ba0 /plugingui
parent2a3189f3e9cad900f6d25075931cdb5d8e14bed3 (diff)
Make compatible with 64bit windows.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/nativewindow_win32.cc2
1 files changed, 1 insertions, 1 deletions
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()