changeset 2582:9f0f0a532343 gsoc2008_force_feedback

Fixed warning.
author Edgar Simo <bobbens@gmail.com>
date Mon, 04 Aug 2008 11:30:16 +0000
parents a1c00531ee00
children 2ae5b4fc6af5
files src/video/win32/SDL_win32window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,