Fix warnings in raylib build (#2084)

This commit is contained in:
Jeffery Myers 2021-10-25 01:18:42 -07:00 committed by GitHub
parent e5cdfab97d
commit 086f76ba7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -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))
{