Skip to content

Commit 7a3cecc

Browse files
authored
Fix a 64 bit to 32 bit int cast warning. (#5594)
1 parent 5361265 commit 7a3cecc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/raudio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2545,7 +2545,7 @@ static ma_uint32 ReadAudioBufferFramesInMixingFormat(AudioBuffer *audioBuffer, f
25452545
}
25462546

25472547
memcpy(audioBuffer->converterResidual, inputBuffer + inputFramesProcessedThisIteration*bpf, (size_t)(residualFrameCount * bpf));
2548-
audioBuffer->converterResidualCount = residualFrameCount;
2548+
audioBuffer->converterResidualCount = (unsigned int)residualFrameCount;
25492549
}
25502550

25512551
if (inputFramesInInternalFormatCount < estimatedInputFrameCount) break; // Reached the end of the sound

0 commit comments

Comments
 (0)