Fix a warning.

This commit is contained in:
David Reid
2025-03-09 07:43:36 +10:00
parent b12959f1d4
commit 484a56499d
+1 -1
View File
@@ -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; pMP3->streamLength = (ma_uint64)streamLen;
if (pMP3->memory.pData != NULL) { if (pMP3->memory.pData != NULL) {
pMP3->memory.dataSize = pMP3->streamLength; pMP3->memory.dataSize = (size_t)pMP3->streamLength;
} }
} else { } else {
if (!onSeek(pUserData, 0, ma_dr_mp3_seek_origin_start)) { if (!onSeek(pUserData, 0, ma_dr_mp3_seek_origin_start)) {