summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2023-10-09 11:17:09 +0200
committerRay <[email protected]>2023-10-09 11:17:09 +0200
commitf93d0ff9bc72749e66b99e8813fb41fd7b8bb813 (patch)
treeddb30112899fe00b60568155a4bbb31fccf8e8bf /src
parentb55cf40b910a428cba7e69ea9133d555a63b818b (diff)
downloadraylib-f93d0ff9bc72749e66b99e8813fb41fd7b8bb813.tar.gz
raylib-f93d0ff9bc72749e66b99e8813fb41fd7b8bb813.zip
Update raudio.c
Diffstat (limited to 'src')
-rw-r--r--src/raudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raudio.c b/src/raudio.c
index 61e00a38..c2590e30 100644
--- a/src/raudio.c
+++ b/src/raudio.c
@@ -1906,7 +1906,7 @@ void UpdateMusicStream(Music music)
{
while (true)
{
- int frameCountRead = drflac_read_pcm_frames_s16((drflac *)music.ctxData, frameCountStillNeeded, (short *)((char *)AUDIO.System.pcmBuffer + frameCountReadTotal*frameSize));
+ int frameCountRead = (int)drflac_read_pcm_frames_s16((drflac *)music.ctxData, frameCountStillNeeded, (short *)((char *)AUDIO.System.pcmBuffer + frameCountReadTotal*frameSize));
frameCountReadTotal += frameCountRead;
frameCountStillNeeded -= frameCountRead;
if (frameCountStillNeeded == 0) break;