Fix a 64 bit to 32 bit int cast warning. (#5594)
This commit is contained in:
parent
5361265a7d
commit
7a3cecc010
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user