src/stdlib/SDL_iconv.c
changeset 1510 720f8bb49d7d
parent 1503 5e4dad24a5de
child 1513 13a3520a13f9
     1.1 --- a/src/stdlib/SDL_iconv.c	Mon Mar 13 01:47:03 2006 +0000
     1.2 +++ b/src/stdlib/SDL_iconv.c	Mon Mar 13 02:06:33 2006 +0000
     1.3 @@ -401,7 +401,7 @@
     1.4  				if ( srclen < 2 ) {
     1.5  					return SDL_ICONV_EINVAL;
     1.6  				}
     1.7 -				p = src;
     1.8 +				p = (Uint8 *)src;
     1.9  				W2 = ((Uint32)p[0] << 8) |
    1.10  				      (Uint32)p[1];
    1.11  				src += 2;
    1.12 @@ -442,7 +442,7 @@
    1.13  				if ( srclen < 2 ) {
    1.14  					return SDL_ICONV_EINVAL;
    1.15  				}
    1.16 -				p = src;
    1.17 +				p = (Uint8 *)src;
    1.18  				W2 = ((Uint32)p[1] << 8) |
    1.19  				      (Uint32)p[0];
    1.20  				src += 2;