aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/snd_adpcm.c
diff options
context:
space:
mode:
authorzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-31 18:00:00 +0000
committerzakk <zakk@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-08-31 18:00:00 +0000
commit227d86d227c6951ee2bd98388e7960c479c2b2e6 (patch)
tree9a52b67cedd0be176d2b8a8be505a5b178f356b9 /code/client/snd_adpcm.c
parent389b14cfcd3855222e0fafbbc40cbb71df595fef (diff)
downloadioquake3-aero-227d86d227c6951ee2bd98388e7960c479c2b2e6.tar.gz
ioquake3-aero-227d86d227c6951ee2bd98388e7960c479c2b2e6.zip
First diff from Andreas Schneider:
here are gcc4 signedness fixes for latest svn :) git-svn-id: svn://svn.icculus.org/quake3/trunk@50 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/snd_adpcm.c')
-rw-r--r--code/client/snd_adpcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/client/snd_adpcm.c b/code/client/snd_adpcm.c
index 3e335fb..89e68f4 100644
--- a/code/client/snd_adpcm.c
+++ b/code/client/snd_adpcm.c
@@ -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;