diff options
| author | Jeffery Myers <[email protected]> | 2021-10-25 01:18:42 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-25 10:18:42 +0200 |
| commit | 086f76ba7abefb1b34e1baa353c5f69dfc5dafdc (patch) | |
| tree | 51254c9d4e55ec5a7879d21ed85cce5dd0347cad /src/raudio.c | |
| parent | e5cdfab97dbdfa54f741cdf79a6b98880ae17cdb (diff) | |
| download | raylib-086f76ba7abefb1b34e1baa353c5f69dfc5dafdc.tar.gz raylib-086f76ba7abefb1b34e1baa353c5f69dfc5dafdc.zip | |
Fix warnings in raylib build (#2084)
Diffstat (limited to 'src/raudio.c')
| -rw-r--r-- | src/raudio.c | 2 |
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)) { |
