From 484a56499d3e03a5f6fa8702bdc5a8ab0817c7ac Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 9 Mar 2025 07:43:36 +1000 Subject: [PATCH] Fix a warning. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 06f8442f..192f407e 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -92875,7 +92875,7 @@ static ma_bool32 ma_dr_mp3_init_internal(ma_dr_mp3* pMP3, ma_dr_mp3_read_proc on } pMP3->streamLength = (ma_uint64)streamLen; if (pMP3->memory.pData != NULL) { - pMP3->memory.dataSize = pMP3->streamLength; + pMP3->memory.dataSize = (size_t)pMP3->streamLength; } } else { if (!onSeek(pUserData, 0, ma_dr_mp3_seek_origin_start)) {