Forráskód Böngészése

adding explicit cast for st_window_proc

Chris Brunner 15 éve
szülő
commit
ba1eb890e2
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      direct/src/plugin/p3dWinSplashWindow.cxx

+ 1 - 1
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";