summaryrefslogtreecommitdiffhomepage
path: root/src/raudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/raudio.c')
-rw-r--r--src/raudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raudio.c b/src/raudio.c
index a694c9fe..223310f3 100644
--- a/src/raudio.c
+++ b/src/raudio.c
@@ -1697,7 +1697,7 @@ void UpdateMusicStream(Music music)
// TODO: Get the framesLeft using framesProcessed... but first, get total frames processed correctly...
//ma_uint32 frameSizeInBytes = ma_get_bytes_per_sample(music.stream.buffer->dsp.formatConverterIn.config.formatIn)*music.stream.buffer->dsp.formatConverterIn.config.channels;
- int framesLeft = music.frameCount - music.stream.buffer->framesProcessed;
+ unsigned int framesLeft = music.frameCount - music.stream.buffer->framesProcessed;
while (IsAudioStreamProcessed(music.stream))
{