Fixed warning. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Mon, 04 Aug 2008 11:30:16 +0000
branchgsoc2008_force_feedback
changeset 2582 9f0f0a532343
parent 2581 a1c00531ee00
child 2583 2ae5b4fc6af5
Fixed warning.
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,