From 7a3cecc0106b7af7727eddafc6b32d6bc2093467 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Thu, 26 Feb 2026 08:45:40 -0800 Subject: [PATCH] Fix a 64 bit to 32 bit int cast warning. (#5594) --- src/raudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raudio.c b/src/raudio.c index 367615ad1..ec2b474d1 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -2545,7 +2545,7 @@ static ma_uint32 ReadAudioBufferFramesInMixingFormat(AudioBuffer *audioBuffer, f } memcpy(audioBuffer->converterResidual, inputBuffer + inputFramesProcessedThisIteration*bpf, (size_t)(residualFrameCount * bpf)); - audioBuffer->converterResidualCount = residualFrameCount; + audioBuffer->converterResidualCount = (unsigned int)residualFrameCount; } if (inputFramesInInternalFormatCount < estimatedInputFrameCount) break; // Reached the end of the sound