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 | 45d00cd2d400f7917c2d8aa5ea13614b36d400c3 (patch) | |
tree | 92208c6dab1f59e3ab78cd681f79cccbd87d98c7 | |
parent | 70983c3a7c7b8920c4604958d3faab7ef7b75722 (diff) | |
download | scintilla-mirror-45d00cd2d400f7917c2d8aa5ea13614b36d400c3.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))); |