diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2003-07-03 04:04:28 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2003-07-03 04:04:28 +0000 |
| commit | 827aad3b87ff612bc3d20f3adb8d2e48ade768ac (patch) | |
| tree | ba822565f165988bf5a8e78276cb15336bc67f65 | |
| parent | 6cb7b15be86ce29ba510ac662acb1a3cb03a7549 (diff) | |
| download | rockbox-827aad3b87ff612bc3d20f3adb8d2e48ade768ac.zip rockbox-827aad3b87ff612bc3d20f3adb8d2e48ade768ac.tar.gz rockbox-827aad3b87ff612bc3d20f3adb8d2e48ade768ac.tar.bz2 rockbox-827aad3b87ff612bc3d20f3adb8d2e48ade768ac.tar.xz | |
Roland's fix for running simulator on NT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3805 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | uisimulator/win32/uisw32.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/uisimulator/win32/uisw32.c b/uisimulator/win32/uisw32.c index 6d91f76..eb568e2 100644 --- a/uisimulator/win32/uisw32.c +++ b/uisimulator/win32/uisw32.c @@ -50,12 +50,12 @@ char having_new_lcd=true; // Used for player simulator // GUIWndProc // window proc for GUI simulator -LRESULT GUIWndProc ( - HWND hWnd, - UINT uMsg, - WPARAM wParam, - LPARAM lParam - ) +LRESULT CALLBACK GUIWndProc ( + HWND hWnd, + UINT uMsg, + WPARAM wParam, + LPARAM lParam + ) { static HBITMAP hBkgnd; static HDC hMemDc; @@ -234,7 +234,7 @@ BOOL GUIStartup () wc.hbrBackground = GetSysColorBrush (COLOR_WINDOW); wc.hCursor = LoadCursor (NULL, IDC_ARROW); wc.hInstance = GetModuleHandle (NULL); - wc.lpfnWndProc = (WNDPROC)GUIWndProc; + wc.lpfnWndProc = GUIWndProc; wc.lpszClassName = "RockBoxUISimulator"; wc.style = CS_HREDRAW | CS_VREDRAW; |