# HG changeset patch # User Ryan C. Gordon # Date 1012831046 0 # Node ID 12a9c2e0b00f2a750e6ab1fd23e35047235f93c9 # Parent f62f7d58e4f4813d63c6267af8a9b6ac0b5470ed Fixed compiler warnings (thanks, Darrell!) diff -r f62f7d58e4f4 -r 12a9c2e0b00f decoders/shn.c --- 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; diff -r f62f7d58e4f4 -r 12a9c2e0b00f decoders/wav.c --- 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;