Mercurial > sdl-ios-xcode
diff src/stdlib/SDL_iconv.c @ 1510:720f8bb49d7d
Win32 fixes
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 13 Mar 2006 02:06:33 +0000 |
parents | 5e4dad24a5de |
children | 13a3520a13f9 |
line wrap: on
line diff
--- a/src/stdlib/SDL_iconv.c Mon Mar 13 01:47:03 2006 +0000 +++ b/src/stdlib/SDL_iconv.c Mon Mar 13 02:06:33 2006 +0000 @@ -401,7 +401,7 @@ if ( srclen < 2 ) { return SDL_ICONV_EINVAL; } - p = src; + p = (Uint8 *)src; W2 = ((Uint32)p[0] << 8) | (Uint32)p[1]; src += 2; @@ -442,7 +442,7 @@ if ( srclen < 2 ) { return SDL_ICONV_EINVAL; } - p = src; + p = (Uint8 *)src; W2 = ((Uint32)p[1] << 8) | (Uint32)p[0]; src += 2;