ref: 73c26681825e79d9349e81c00b13aeb79f7d3b3f
parent: 52a69af11bc6bebba862cb483bf43d3282bd70a2
author: lieff <lieff@users.noreply.github.com>
date: Thu Feb 13 20:07:16 EST 2020
mp3dec_ex: cast fix for c++
--- a/minimp3_ex.h
+++ b/minimp3_ex.h
@@ -1115,7 +1115,7 @@
return MP3D_E_MEMORY;
#else
dec->file.size = MINIMP3_IO_SIZE;
- dec->file.buffer = malloc(dec->file.size);
+ dec->file.buffer = (const uint8_t*)malloc(dec->file.size);
if (!dec->file.buffer)
return MP3D_E_MEMORY;
#endif