diff decoders/wav.c @ 242:12a9c2e0b00f

Fixed compiler warnings (thanks, Darrell!)
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 04 Feb 2002 13:57:26 +0000
parents c9772a9f5271
children 170b1400e060
line wrap: on
line diff
--- 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;