Fix a 64 bit to 32 bit int cast warning. (#5594)

This commit is contained in:
Jeffery Myers
2026-02-26 08:45:40 -08:00
committed by GitHub
parent 5361265a7d
commit 7a3cecc010

View File

@@ -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