mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fixed a compilation warning with llvm
This commit is contained in:
+1
-1
@@ -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. */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user