SDL_mixer: Fixed build warning (44625)

From 44625313e260b135c03c413014eb86d03824c616 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 9 Jul 2023 15:10:30 -0700
Subject: [PATCH] Fixed build warning

---
 src/codecs/music_wav.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/codecs/music_wav.c b/src/codecs/music_wav.c
index 54cf85db..4f6582bd 100644
--- a/src/codecs/music_wav.c
+++ b/src/codecs/music_wav.c
@@ -547,7 +547,7 @@ static int MS_ADPCM_Init(ADPCM_DecoderState *state, const Uint8 *chunk_data, Uin
          *   z = Number of samples per channel in block header
          *   wSamplesPerBlock = x / y + z
          */
-        samplesperblock = (Uint32)blockdatasamples + 2;
+        samplesperblock = (Uint16)(blockdatasamples + 2);
     }
 
     /* nBlockAlign can be in conflict with wSamplesPerBlock. For example, if
@@ -778,7 +778,7 @@ static int IMA_ADPCM_Init(ADPCM_DecoderState *state, const Uint8 *chunk_data, Ui
          *   z = Number of samples per channel in header
          *   wSamplesPerBlock = x / y + z
          */
-        samplesperblock = (Uint32)blockdatasamples + 1;
+        samplesperblock = (Uint16)(blockdatasamples + 1);
     }
 
     /* nBlockAlign can be in conflict with wSamplesPerBlock. For example, if