[vlc-commits] avi: fix format string

Rémi Denis-Courmont git at videolan.org
Wed Jul 20 23:06:54 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 20 23:25:20 2016 +0300| [8981edb4fc10985cfa0582e4beb934e2ff548c39] | committer: Rémi Denis-Courmont

avi: fix format string

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

 modules/demux/avi/avi.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 64ad533..517c287 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -1405,7 +1405,8 @@ static int Demux_UnSeekable( demux_t *p_demux )
                     return VLC_DEMUXER_EOF;
                 default:
                     msg_Warn( p_demux,
-                              "seems to have lost position @%ld, resync", stream_Tell(p_demux->s) );
+                              "seems to have lost position @%"PRIu64", resync",
+                              stream_Tell(p_demux->s) );
                     if( AVI_PacketSearch( p_demux ) )
                     {
                         msg_Err( p_demux, "resync failed" );



More information about the vlc-commits mailing list