Mercurial > sdl-ios-xcode
diff src/audio/SDL_audiocvt.c @ 1011:4095d9ca23f2
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 13 Dec 2004 08:49:17 +0000 |
parents | 41a59de7f2ed |
children | c9b51268668f |
line wrap: on
line diff
--- a/src/audio/SDL_audiocvt.c Mon Dec 13 08:00:14 2004 +0000 +++ b/src/audio/SDL_audiocvt.c Mon Dec 13 08:49:17 2004 +0000 @@ -486,8 +486,8 @@ case AUDIO_S8: { Sint8 *src, *dst, lf, rf, ce; - src = cvt->buf+cvt->len_cvt; - dst = cvt->buf+cvt->len_cvt*3; + src = (Sint8 *)cvt->buf+cvt->len_cvt; + dst = (Sint8 *)cvt->buf+cvt->len_cvt*3; for ( i=cvt->len_cvt; i; --i ) { dst -= 6; src -= 2; @@ -661,8 +661,8 @@ case AUDIO_S8: { Sint8 *src, *dst, lf, rf, ce; - src = cvt->buf+cvt->len_cvt; - dst = cvt->buf+cvt->len_cvt*2; + src = (Sint8 *)cvt->buf+cvt->len_cvt; + dst = (Sint8 *)cvt->buf+cvt->len_cvt*2; for ( i=cvt->len_cvt; i; --i ) { dst -= 4; src -= 2;