diff options
| author | Jeffery Myers <[email protected]> | 2022-07-18 21:36:03 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-19 06:36:03 +0200 |
| commit | e9029d3d007e5dd05622c0569cf8be567d249e4b (patch) | |
| tree | e2c806e3da01a6bc026a6e57b893142e396fe30e /src/raudio.c | |
| parent | 0f7c4f762fb9f731f927a575662c542a9af617bc (diff) | |
| download | raylib-e9029d3d007e5dd05622c0569cf8be567d249e4b.tar.gz raylib-e9029d3d007e5dd05622c0569cf8be567d249e4b.zip | |
[CORE] Fix Warnings (#2582)
* Fix raymath warning with floor to floorf
* signed unsigned missmatches
Diffstat (limited to 'src/raudio.c')
| -rw-r--r-- | src/raudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raudio.c b/src/raudio.c index b742a11c..9e718db3 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -1733,8 +1733,8 @@ void UpdateMusicStream(Music music) AUDIO.System.pcmBufferSize = pcmSize; } - int framesLeft = music.frameCount - music.stream.buffer->framesProcessed; // Frames left to be processed - int framesToStream = 0; // Total frames to be streamed + unsigned int framesLeft = music.frameCount - music.stream.buffer->framesProcessed; // Frames left to be processed + unsigned int framesToStream = 0; // Total frames to be streamed unsigned int framesLoopingExtra = 0; // In case music requires to loop, we could need to add more frames from beginning to fill buffer // Check both sub-buffers to check if they require refilling |
