From 0fb4d7da0c86edb78d743ae216086e7485e99e83 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Thu, 26 Feb 2026 07:59:29 -0800 Subject: [PATCH] Fix a 64 bit to 32 bit int cast warning. --- 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