Mercurial > SDL_sound_CoreAudio
changeset 242:12a9c2e0b00f
Fixed compiler warnings (thanks, Darrell!)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 04 Feb 2002 13:57:26 +0000 |
parents | f62f7d58e4f4 |
children | 4a8d627a2326 |
files | decoders/shn.c decoders/wav.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/decoders/shn.c Mon Feb 04 13:56:03 2002 +0000 +++ b/decoders/shn.c Mon Feb 04 13:57:26 2002 +0000 @@ -398,7 +398,7 @@ } /* determine_shn_version */ -static int init_shn_offset(Sint32 **offset, int nchan, int nblock, int ftype) +static void init_shn_offset(Sint32 **offset, int nchan, int nblock, int ftype) { Sint32 mean = 0; int chan;
--- a/decoders/wav.c Mon Feb 04 13:56:03 2002 +0000 +++ b/decoders/wav.c Mon Feb 04 13:57:26 2002 +0000 @@ -413,7 +413,7 @@ } /* decode_adpcm_sample_frame */ -static inline void put_adpcm_sample_frame1(Uint8 *_buf, fmt_t *fmt) +static inline void put_adpcm_sample_frame1(void *_buf, fmt_t *fmt) { Uint16 *buf = (Uint16 *) _buf; ADPCMBLOCKHEADER *headers = fmt->fmt.adpcm.blockheaders; @@ -423,7 +423,7 @@ } /* put_adpcm_sample_frame1 */ -static inline void put_adpcm_sample_frame2(Uint8 *_buf, fmt_t *fmt) +static inline void put_adpcm_sample_frame2(void *_buf, fmt_t *fmt) { Uint16 *buf = (Uint16 *) _buf; ADPCMBLOCKHEADER *headers = fmt->fmt.adpcm.blockheaders;