mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2025-02-14 12:48:54 +00:00
snd: properly fix the signedness warning in snd_mix.c
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
726e4365c1
commit
90f92ef6e9
@ -258,7 +258,7 @@ SND_PaintChannelFrom8(channel_t *ch, sfxcache_t *sc, int count)
|
||||
|
||||
lscale = snd_scaletable[ch->leftvol >> 3];
|
||||
rscale = snd_scaletable[ch->rightvol >> 3];
|
||||
sfx = (signed char *)sc->data + ch->pos;
|
||||
sfx = (unsigned char *)sc->data + ch->pos;
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
data = sfx[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user