branch | gsoc2008_force_feedback |
changeset 2582 | 9f0f0a532343 |
parent 2581 | a1c00531ee00 |
child 2583 | 2ae5b4fc6af5 |
--- a/src/video/win32/SDL_win32window.c Mon Aug 04 11:29:19 2008 +0000 +++ b/src/video/win32/SDL_win32window.c Mon Aug 04 11:30:16 2008 +0000 @@ -428,7 +428,7 @@ ZeroMemory(&wce, sizeof (wce)); wce.cbSize = sizeof(WNDCLASSEX); wce.lpfnWndProc = NULL; - wce.lpszClassName = class_name; + wce.lpszClassName = (LPCWSTR) class_name; wce.hInstance = hInstance; SDL_HelperWindow = CreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW,