mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
adding explicit cast for st_window_proc
This commit is contained in:
parent
cff2eb6052
commit
ba1eb890e2
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user