comparison src/video/win32/SDL_win32window.c @ 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
comparison
equal deleted inserted replaced
2581:a1c00531ee00 2582:9f0f0a532343
426 WNDCLASSEX wce; 426 WNDCLASSEX wce;
427 427
428 ZeroMemory(&wce, sizeof (wce)); 428 ZeroMemory(&wce, sizeof (wce));
429 wce.cbSize = sizeof(WNDCLASSEX); 429 wce.cbSize = sizeof(WNDCLASSEX);
430 wce.lpfnWndProc = NULL; 430 wce.lpfnWndProc = NULL;
431 wce.lpszClassName = class_name; 431 wce.lpszClassName = (LPCWSTR) class_name;
432 wce.hInstance = hInstance; 432 wce.hInstance = hInstance;
433 433
434 SDL_HelperWindow = CreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW, 434 SDL_HelperWindow = CreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW,
435 CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, 435 CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
436 CW_USEDEFAULT, HWND_MESSAGE, NULL, hInstance, NULL); 436 CW_USEDEFAULT, HWND_MESSAGE, NULL, hInstance, NULL);