adding explicit cast for st_window_proc

This commit is contained in:
Chris Brunner 2010-06-14 21:42:42 +00:00
parent cff2eb6052
commit ba1eb890e2

View File

@ -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";