From 45d00cd2d400f7917c2d8aa5ea13614b36d400c3 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 16 Jul 2015 20:39:20 +1000 Subject: Cast for 64-bit warning with Visual C++ 2015. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') 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(ctrlID), + reinterpret_cast(static_cast(ctrlID)), hinstanceParent, 0); WNDPROC prevWndProc = reinterpret_cast(::SetWindowLongPtr(lb, GWLP_WNDPROC, reinterpret_cast(ControlWndProc))); -- cgit v1.2.3