[vlc-commits] https: fix format string

Rémi Denis-Courmont git at videolan.org
Mon Dec 14 22:35:09 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 14 23:06:38 2015 +0200| [cc0dc931b2524a26e6f05be046d3b65731343fa6] | committer: Rémi Denis-Courmont

https: fix format string

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

 modules/access/http/h2frame.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/http/h2frame.c b/modules/access/http/h2frame.c
index 98294af..6e71420 100644
--- a/modules/access/http/h2frame.c
+++ b/modules/access/http/h2frame.c
@@ -412,11 +412,11 @@ void (vlc_h2_frame_dump)(vlc_object_t *obj, const struct vlc_h2_frame *f,
     uint_fast32_t sid = vlc_h2_frame_id(f);
 
     if (sid != 0)
-        msg_Dbg(obj, "%s %s (0x%02"PRIxFAST8") frame of %"PRIuFAST32" bytes, "
+        msg_Dbg(obj, "%s %s (0x%02"PRIxFAST8") frame of %zu bytes, "
                 "flags 0x%02"PRIxFAST8", stream %"PRIuFAST32, msg,
                 vlc_h2_type_name(type), type, len,  flags, sid);
     else
-        msg_Dbg(obj, "%s %s (0x%02"PRIxFAST8") frame of %"PRIuFAST32" bytes, "
+        msg_Dbg(obj, "%s %s (0x%02"PRIxFAST8") frame of %zu bytes, "
                 "flags 0x%02"PRIxFAST8", global", msg,
                 vlc_h2_type_name(type), type, len,  flags);
 }



More information about the vlc-commits mailing list