diff options
author | Neil <nyamatongwe@gmail.com> | 2015-07-16 20:39:20 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-07-16 20:39:20 +1000 |
commit | 0fbac8e280ed70b018c16e3d57a130aaf854b629 (patch) | |
tree | 3d857adea7259dc1b65c85ab21e7f650620af0bd | |
parent | 5a8572335ccb274c1f59667292f1959e753f6278 (diff) | |
download | scintilla-mirror-0fbac8e280ed70b018c16e3d57a130aaf854b629.tar.gz |
Cast for 64-bit warning with Visual C++ 2015.
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 035ea60b9..b0c368e64 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -2746,7 +2746,7 @@ LRESULT ListBoxX::WndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam WS_CHILD | WS_VSCROLL | WS_VISIBLE | LBS_OWNERDRAWFIXED | LBS_NODATA | LBS_NOINTEGRALHEIGHT, 0, 0, 150,80, hWnd, - reinterpret_cast<HMENU>(ctrlID), + reinterpret_cast<HMENU>(static_cast<ptrdiff_t>(ctrlID)), hinstanceParent, 0); WNDPROC prevWndProc = reinterpret_cast<WNDPROC>(::SetWindowLongPtr(lb, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(ControlWndProc))); |