SDL_mixer: Fixed Visual Studio warnings (85db0)

From 85db05dc925ec716f31387371af8eefa6f3558f4 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 21 Jan 2024 09:14:21 -0800
Subject: [PATCH] Fixed Visual Studio warnings

(cherry picked from commit acdd059f9b6551f93a87f5b6ca4695446c9c3d84)
---
 src/codecs/music_gme.c     | 6 +++---
 src/codecs/music_minimp3.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/codecs/music_gme.c b/src/codecs/music_gme.c
index 43b1921c..ccd363fe 100644
--- a/src/codecs/music_gme.c
+++ b/src/codecs/music_gme.c
@@ -238,7 +238,7 @@ static void *GME_CreateFromRW(struct SDL_RWops *src, SDL_bool freesrc)
     SDL_RWseek(src, 0, SDL_RW_SEEK_SET);
     mem = SDL_LoadFile_RW(src, &size, SDL_FALSE);
     if (mem) {
-        err = gme.gme_open_data(mem, size, &music->game_emu, music_spec.freq);
+        err = gme.gme_open_data(mem, (long)size, &music->game_emu, music_spec.freq);
         SDL_free(mem);
         if (err != 0) {
             GME_Delete(music);
@@ -312,13 +312,13 @@ static int GME_GetSome(void *context, void *data, int bytes, SDL_bool *done)
         return 0;
     }
 
-    err = gme.gme_play(music->game_emu, (music->buffer_size / 2), (short*)music->buffer);
+    err = gme.gme_play(music->game_emu, (int)(music->buffer_size / 2), (short*)music->buffer);
     if (err != NULL) {
         Mix_SetError("GME: %s", err);
         return 0;
     }
 
-    if (SDL_PutAudioStreamData(music->stream, music->buffer, music->buffer_size) < 0) {
+    if (SDL_PutAudioStreamData(music->stream, music->buffer, (int)music->buffer_size) < 0) {
         return -1;
     }
     return 0;
diff --git a/src/codecs/music_minimp3.c b/src/codecs/music_minimp3.c
index 2af3fea2..d8d18941 100644
--- a/src/codecs/music_minimp3.c
+++ b/src/codecs/music_minimp3.c
@@ -172,7 +172,7 @@ static int MINIMP3_GetSome(void *context, void *data, int bytes, SDL_bool *done)
         return 0;
     }
 
-    amount = mp3dec_ex_read(&music->dec, music->buffer, 4096/*music_spec.samples*/ * music->channels);
+    amount = (int)mp3dec_ex_read(&music->dec, music->buffer, 4096/*music_spec.samples*/ * music->channels);
     if (amount > 0) {
         if (SDL_PutAudioStreamData(music->stream, music->buffer, (int)amount * sizeof(mp3d_sample_t)) < 0) {
             return -1;