--- np2/sound/adpcmg.c 2004/02/06 17:10:32 1.5 +++ np2/sound/adpcmg.c 2005/02/07 14:46:12 1.6 @@ -23,7 +23,7 @@ REG8 SOUNDCALL adpcm_readsample(ADPCM ad pos += 8; } else { - const BYTE *ptr; + const UINT8 *ptr; REG8 bit; UINT tmp; ptr = ad->buf + ((pos >> 3) & 0x7fff); @@ -68,7 +68,7 @@ void SOUNDCALL adpcm_datawrite(ADPCM ad, pos += 8; } else { - BYTE *ptr; + UINT8 *ptr; UINT8 bit; UINT8 mask; ptr = ad->buf + ((pos >> 3) & 0x7fff); @@ -135,7 +135,7 @@ static void SOUNDCALL getadpcmdata(ADPCM pos += ADPCM_NBR + 4; } else { - const BYTE *ptr; + const UINT8 *ptr; REG8 bit; UINT tmp; ptr = ad->buf + ((pos >> 3) & 0x7fff);