# HG changeset patch # User Edgar Simo # Date 1217849416 0 # Node ID 9f0f0a532343ca259d620e0d24c4a95e290b4cc6 # Parent a1c00531ee00c9636d4143dac92fa8613bf9eb0f Fixed warning. diff -r a1c00531ee00 -r 9f0f0a532343 src/video/win32/SDL_win32window.c --- 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,