shithub: mp3dec

Download patch

ref: 9229f280ad475a434d7592255dc01534db65504f
parent: ca39bce91e7608c154c4a7f16b6392bd7059aa03
parent: 1a1e685d82bf4451973d27a23610011aaa541a67
author: Lion <[email protected]>
date: Thu Feb 20 21:12:06 EST 2020

Merge pull request #65 from yongtang/fix

Fix inconsistency of `size_t` => `int` for mp3dec_iterate_w

--- a/minimp3_ex.h
+++ b/minimp3_ex.h
@@ -1217,7 +1217,7 @@
     return mp3dec_load_mapinfo(dec, &map_info,info, progress_cb, user_data);
 }
 
-size_t mp3dec_iterate_w(const wchar_t *file_name, MP3D_ITERATE_CB callback, void *user_data)
+int mp3dec_iterate_w(const wchar_t *file_name, MP3D_ITERATE_CB callback, void *user_data)
 {
     int ret;
     mp3dec_map_info_t map_info;