Fix a 64 bit to 32 bit int cast warning.

This commit is contained in:
Jeffery Myers 2026-02-26 07:59:29 -08:00
parent 5361265a7d
commit 0fb4d7da0c

View File

@ -2545,7 +2545,7 @@ static ma_uint32 ReadAudioBufferFramesInMixingFormat(AudioBuffer *audioBuffer, f
} }
memcpy(audioBuffer->converterResidual, inputBuffer + inputFramesProcessedThisIteration*bpf, (size_t)(residualFrameCount * bpf)); 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 if (inputFramesInInternalFormatCount < estimatedInputFrameCount) break; // Reached the end of the sound