[vlc-commits] vlm: fix format strings

Rémi Denis-Courmont git at videolan.org
Thu May 30 11:34:54 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 30 12:29:17 2019 +0300| [20428e7b235d98bbbe55c4e5e460e7b9375c8630] | committer: Rémi Denis-Courmont

vlm: fix format strings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20428e7b235d98bbbe55c4e5e460e7b9375c8630
---

 src/input/vlmshell.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c
index afb4fc13f7..6bf0d93b98 100644
--- a/src/input/vlmshell.c
+++ b/src/input/vlmshell.c
@@ -1354,8 +1354,8 @@ static vlm_message_t *vlm_ShowMedia( vlm_media_sys_t *p_media )
         APPEND_INPUT_INFO( "time", "%"PRId64, time );
         APPEND_INPUT_INFO( "length", "%"PRId64, length );
         APPEND_INPUT_INFO( "rate", "%f", rate );
-        APPEND_INPUT_INFO( "title", "%"PRId64, title );
-        APPEND_INPUT_INFO( "chapter", "%"PRId64, chapter );
+        APPEND_INPUT_INFO( "title", "%zd", title );
+        APPEND_INPUT_INFO( "chapter", "%zd", chapter );
         APPEND_INPUT_INFO( "can-seek", "%d", can_seek );
 #undef APPEND_INPUT_INFO
         vlm_MessageAdd( p_msg_instance, vlm_MessageNew( "playlistindex",



More information about the vlc-commits mailing list