SDL_mixer: Fixed Visual Studio warnings

From acdd059f9b6551f93a87f5b6ca4695446c9c3d84 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 21 Jan 2024 08:49:39 -0800
Subject: [PATCH] Fixed Visual Studio warnings

---
 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 27696e8a..1f06522e 100644
--- a/src/codecs/music_gme.c
+++ b/src/codecs/music_gme.c
@@ -235,7 +235,7 @@ static void *GME_CreateFromRW(struct SDL_RWops *src, int freesrc)
     SDL_RWseek(src, 0, 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);
@@ -309,13 +309,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_AudioStreamPut(music->stream, music->buffer, music->buffer_size) < 0) {
+    if (SDL_AudioStreamPut(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 fee99907..8565996c 100644
--- a/src/codecs/music_minimp3.c
+++ b/src/codecs/music_minimp3.c
@@ -173,7 +173,7 @@ static int MINIMP3_GetSome(void *context, void *data, int bytes, SDL_bool *done)
         return 0;
     }
 
-    amount = mp3dec_ex_read(&music->dec, music->buffer, music_spec.samples * music->channels);
+    amount = (int)mp3dec_ex_read(&music->dec, music->buffer, music_spec.samples * music->channels);
     if (amount > 0) {
         if (SDL_AudioStreamPut(music->stream, music->buffer, (int)amount * sizeof(mp3d_sample_t)) < 0) {
             return -1;