[vlc-commits] avi: fix format string

Rémi Denis-Courmont git at videolan.org
Sun Apr 14 09:18:03 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 14 10:15:11 2019 +0300| [4382fe0f8461b611d35aaec3dc73cace1a1a32f6] | committer: Rémi Denis-Courmont

avi: fix format string

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

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

diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index c1d612988e..5b2ad45ef1 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -86,8 +86,8 @@ static int AVI_ChunkReadCommon( stream_t *s, avi_chunk_t *p_chk,
 
     if( p_father && AVI_ChunkEnd( p_chk ) > AVI_ChunkEnd( p_father ) )
     {
-        msg_Warn( s, "chunk %4.4s does not fit into parent %ld",
-                     (char*)&p_chk->common.i_chunk_fourcc, AVI_ChunkEnd( p_father ) );
+        msg_Warn( s, "chunk %4.4s does not fit into parent %"PRIu64,
+                  (char*)&p_chk->common.i_chunk_fourcc, AVI_ChunkEnd( p_father ) );
 
         /* How hard is to produce files with the correct declared size ? */
         if( p_father->common.i_chunk_fourcc != AVIFOURCC_RIFF ||



More information about the vlc-commits mailing list