1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 14:52:43 +00:00

mplayer: fix passing size_t as %d to printf()

This commit is contained in:
wm4 2013-11-20 18:12:14 +01:00
parent 52467b2ac9
commit 702962878b

View File

@ -199,7 +199,7 @@ void merge_playlist_files(struct playlist *pl)
bstr_strip(bstr0(e->filename)).len != strlen(e->filename))
{
// %length%
edl = talloc_asprintf_append_buffer(edl, "%%%d%%", strlen(e->filename));
edl = talloc_asprintf_append_buffer(edl, "%%%zd%%", strlen(e->filename));
}
edl = talloc_strdup_append_buffer(edl, e->filename);
}