mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-23 23:33:58 -04:00
Fix a 64 bit to 32 bit int cast warning. (#5594)
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user