diff src/video/wincommon/SDL_syswm.c @ 1510:720f8bb49d7d

Win32 fixes
author Sam Lantinga <slouken@libsdl.org>
date Mon, 13 Mar 2006 02:06:33 +0000
parents 4d005dfbb7f5
children 782fd950bd46 c121d94672cb b0955ae208f3
line wrap: on
line diff
--- a/src/video/wincommon/SDL_syswm.c	Mon Mar 13 01:47:03 2006 +0000
+++ b/src/video/wincommon/SDL_syswm.c	Mon Mar 13 02:06:33 2006 +0000
@@ -230,11 +230,11 @@
 {
 #ifdef _WIN32_WCE
 	/* WinCE uses the UNICODE version */
-	LPWSTR lpszW = SDL_iconv_utf8_ucs2(title);
+	LPWSTR lpszW = SDL_iconv_utf8_ucs2((char *)title);
 	SetWindowText(SDL_Window, lpszW);
 	SDL_free(lpszW);
 #else
-	char *lpsz = SDL_iconv_utf8_latin1(title);
+	char *lpsz = SDL_iconv_utf8_latin1((char *)title);
 	SetWindowText(SDL_Window, lpsz);
 	SDL_free(lpsz);
 #endif