From ba1eb890e241971853260b98c7a601ba03de5745 Mon Sep 17 00:00:00 2001 From: Chris Brunner Date: Mon, 14 Jun 2010 21:42:42 +0000 Subject: [PATCH] adding explicit cast for st_window_proc --- direct/src/plugin/p3dWinSplashWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/plugin/p3dWinSplashWindow.cxx b/direct/src/plugin/p3dWinSplashWindow.cxx index 359b63f4ea..dd3f79662a 100755 --- a/direct/src/plugin/p3dWinSplashWindow.cxx +++ b/direct/src/plugin/p3dWinSplashWindow.cxx @@ -237,7 +237,7 @@ register_window_class() { WNDCLASS wc; ZeroMemory(&wc, sizeof(WNDCLASS)); - wc.lpfnWndProc = st_window_proc; + wc.lpfnWndProc = (WNDPROC)st_window_proc; wc.hInstance = application; wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.lpszClassName = "panda3d_splash";