SDL_mixer: stb_vorbis.h: fix gcc sign-compare warnings when building with -Wextra

From 2da1f7774bdd12d02d12de687dc91b86ef238fa9 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 23 May 2024 04:15:50 +0300
Subject: [PATCH] stb_vorbis.h: fix gcc sign-compare warnings when building
 with -Wextra

Fixes https://github.com/libsdl-org/SDL_mixer/issues/614

(cherry picked from commit 5a01faed1c70eb055d59992642528f83bc0a46e4)
---
 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 27b4515c..861dccee 100644
--- a/src/codecs/stb_vorbis/stb_vorbis.h
+++ b/src/codecs/stb_vorbis/stb_vorbis.h
@@ -3766,7 +3766,7 @@ static int start_decoder(vorb *f)
    f->comment_list = NULL;
    if (f->comment_list_length > 0)
    {
-      if (INT_MAX / sizeof(char*) < f->comment_list_length)
+      if (INT_MAX / (int)sizeof(char*) < f->comment_list_length)
           goto no_comment;
       len = sizeof(char*) * f->comment_list_length;
       f->comment_list = (char**) setup_malloc(f, len);