shithub: ft²

Download patch

ref: ccfd02dd2dcfa72085c4dc4f29dea58313964b57
parent: 4933e4ed327d7eafdcabb477902810b441d4305a
author: Olav Sørensen <olav.sorensen@live.no>
date: Sun Mar 3 11:05:03 EST 2024

Update ft2_silence_mix.c

--- a/src/mixer/ft2_silence_mix.c
+++ b/src/mixer/ft2_silence_mix.c
@@ -13,7 +13,7 @@
 	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;