First diff from Andreas Schneider:

here are gcc4 signedness fixes for latest svn :)
This commit is contained in:
Zachary Slater 2005-08-31 18:00:00 +00:00
parent 23d08fae65
commit 06c73f5e59
7 changed files with 16 additions and 11 deletions

View file

@ -278,7 +278,7 @@ void S_AdpcmGetSamples(sndBuffer *chunk, short *to) {
out = (byte *)chunk->sndChunk;
// get samples
S_AdpcmDecode( out, to, SND_CHUNK_SIZE_BYTE*2, &state );
S_AdpcmDecode((char *) out, to, SND_CHUNK_SIZE_BYTE*2, &state );
}
@ -322,7 +322,7 @@ void S_AdpcmEncodeSound( sfx_t *sfx, short *samples ) {
out = (byte *)chunk->sndChunk;
// encode the samples
S_AdpcmEncode( samples + inOffset, out, n, &state );
S_AdpcmEncode( samples + inOffset, (char *) out, n, &state );
inOffset += n;
count -= n;