diff options
author | wm4 <wm4@nowhere> | 2013-11-20 18:12:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-20 18:12:14 +0100 |
commit | 702962878b9c1a5453e7334669e8eed3be4f4faa (patch) | |
tree | bb39950dbf126a3963b157602c9304d78c34022d /mpvcore | |
parent | 52467b2ac917908ea029f91ed6b2a7a2e58d1756 (diff) | |
download | mpv-702962878b9c1a5453e7334669e8eed3be4f4faa.tar.bz2 mpv-702962878b9c1a5453e7334669e8eed3be4f4faa.tar.xz |
mplayer: fix passing size_t as %d to printf()
Diffstat (limited to 'mpvcore')
-rw-r--r-- | mpvcore/player/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/player/misc.c b/mpvcore/player/misc.c index 548e2c7967..5f15ca7124 100644 --- a/mpvcore/player/misc.c +++ b/mpvcore/player/misc.c @@ -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); } |