Fixed a compilation warning with llvm

This commit is contained in:
iarwain
2021-11-10 04:24:38 -05:00
parent 760fa4c84a
commit 32ae4f9384
+1 -1
View File
@@ -58482,7 +58482,7 @@ MA_API ma_result ma_stbvorbis_read_pcm_frames(ma_stbvorbis* pVorbis, void* pFram
framesRead = stb_vorbis_get_samples_float_interleaved(pVorbis->stb, channels, (float*)ma_offset_pcm_frames_ptr(pFramesOut, totalFramesRead, format, channels), (int)framesRemaining * channels); /* Safe cast. */ framesRead = stb_vorbis_get_samples_float_interleaved(pVorbis->stb, channels, (float*)ma_offset_pcm_frames_ptr(pFramesOut, totalFramesRead, format, channels), (int)framesRemaining * channels); /* Safe cast. */
totalFramesRead += framesRead; totalFramesRead += framesRead;
if (framesRead < framesRemaining) { if (framesRead < (int)framesRemaining) {
break; /* Nothing left to read. Get out. */ break; /* Nothing left to read. Get out. */
} }
} }