[vlc-commits] itml: fix the printf modifier for the pointer value

Steve Lhomme git at videolan.org
Wed Jul 11 10:52:35 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jul 11 10:37:26 2018 +0200| [0e1886330f19fce5cdc47e6369ede560bdacaf72] | committer: Steve Lhomme

itml: fix the printf modifier for the pointer value

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

 modules/demux/playlist/itml.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/playlist/itml.c b/modules/demux/playlist/itml.c
index 449876f2d0..bb66765c19 100644
--- a/modules/demux/playlist/itml.c
+++ b/modules/demux/playlist/itml.c
@@ -282,8 +282,8 @@ static bool parse_tracks_dict( stream_t *p_demux, input_item_node_t *p_input_nod
     parse_dict( p_demux, p_input_node, NULL, p_xml_reader,
                 "dict", tracks_elements );
 
-    msg_Info( p_demux, "added %zi tracks successfully",
-              (size_t)p_demux->p_sys );
+    msg_Info( p_demux, "added %" PRIiPTR " tracks successfully",
+              p_demux->p_sys );
 
     return true;
 }



More information about the vlc-commits mailing list