Mercurial > sdl-ios-xcode
changeset 1011:4095d9ca23f2
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 13 Dec 2004 08:49:17 +0000 |
parents | 2cd32a2d1f11 |
children | f14e3059e138 |
files | src/audio/SDL_audiocvt.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
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;