commit ccfd02dd2dcfa72085c4dc4f29dea58313964b57 parent 4933e4ed327d7eafdcabb477902810b441d4305a Author: Olav Sørensen <olav.sorensen@live.no> Date: Sun, 3 Mar 2024 16:04:36 +0100 Update ft2_silence_mix.c Diffstat:
M | src/mixer/ft2_silence_mix.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mixer/ft2_silence_mix.c b/src/mixer/ft2_silence_mix.c @@ -13,7 +13,7 @@ void silenceMixRoutine(voice_t *v, int32_t numSamples) uint32_t position = v->position + samples + (uint32_t)(samplesFrac >> MIXER_FRAC_BITS); uint64_t positionFrac = samplesFrac & MIXER_FRAC_MASK; - if (position < (unsigned)v->sampleEnd) // we haven't reached the sample's end yet + if (position < (uint32_t)v->sampleEnd) // we haven't reached the sample's end yet { v->positionFrac = positionFrac; v->position = position;