From d33caf447f5db61a4ee4cb0181db8000b7029ef4 Mon Sep 17 00:00:00 2001
From: Slavko <[EMAIL REDACTED]>
Date: Thu, 13 Feb 2025 21:24:33 +0000
Subject: [PATCH] Remove (int > uint) comparison warning in stb_vorbis.h
---
src/codecs/stb_vorbis/stb_vorbis.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/codecs/stb_vorbis/stb_vorbis.h b/src/codecs/stb_vorbis/stb_vorbis.h
index 90cc098c..603e33ad 100644
--- a/src/codecs/stb_vorbis/stb_vorbis.h
+++ b/src/codecs/stb_vorbis/stb_vorbis.h
@@ -5518,7 +5518,7 @@ static int fixup_current_playback_loc(stb_vorbis *f, int n)
f->current_playback_loc += n;
lgs = stb_vorbis_stream_length_in_samples(f);
- if (f->current_playback_loc > lgs && lgs > 0 && lgs != SAMPLE_unknown) {
+ if (f->current_playback_loc > (int)lgs && lgs > 0 && lgs != SAMPLE_unknown) {
int r = n - (f->current_playback_loc - (int)lgs);
f->current_playback_loc = lgs;
return r;