[vlc-commits] hds: fix format string

Rémi Denis-Courmont git at videolan.org
Sat Oct 11 09:15:23 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 11 10:12:33 2014 +0300| [511c7360308aa08f2182489f8491213ebe066e6d] | committer: Rémi Denis-Courmont

hds: fix format string

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

 modules/stream_filter/hds/hds.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/stream_filter/hds/hds.c b/modules/stream_filter/hds/hds.c
index 1831d71..a042b79 100644
--- a/modules/stream_filter/hds/hds.c
+++ b/modules/stream_filter/hds/hds.c
@@ -231,7 +231,8 @@ static uint8_t* parse_asrt( vlc_object_t* p_this,
     if( asrt_len > data_end - data ||
         data_end - data <  14 )
     {
-        msg_Err( p_this, "Not enough asrt data (%"PRIu32", %lu)", asrt_len, data_end - data );
+        msg_Err( p_this, "Not enough asrt data (%"PRIu32", %tu)", asrt_len,
+                 data_end - data );
         return NULL;
     }
 
@@ -335,7 +336,8 @@ static uint8_t* parse_afrt( vlc_object_t* p_this,
     if( afrt_len > data_end - data ||
         data_end - data <  9 )
     {
-        msg_Err( p_this, "Not enough afrt data %u, %ld", afrt_len, data_end - data );
+        msg_Err( p_this, "Not enough afrt data %u, %td", afrt_len,
+                 data_end - data );
         return NULL;
     }
     data_p += sizeof(afrt_len);



More information about the vlc-commits mailing list