[vlc-commits] cache_block: fix format string

Rémi Denis-Courmont git at videolan.org
Sun Dec 2 14:23:38 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec  2 14:28:59 2018 +0200| [337048ec4f3ac05e6aa3ac1dbe08af0902255369] | committer: Rémi Denis-Courmont

cache_block: fix format string

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

 modules/stream_filter/cache_block.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/stream_filter/cache_block.c b/modules/stream_filter/cache_block.c
index 8ab5bc7407..ee329d1206 100644
--- a/modules/stream_filter/cache_block.c
+++ b/modules/stream_filter/cache_block.c
@@ -141,10 +141,9 @@ static void AStreamPrebufferBlock(stream_t *s)
             byterate = (CLOCK_FREQ * sys->stat.read_bytes ) /
                         (sys->stat.read_time -1);
 
-            msg_Dbg(s, "prebuffering done %zu bytes in %zus - %zu KiB/s",
-                        cache_size,
-                        SEC_FROM_VLC_TICK(sys->stat.read_time),
-                        byterate / 1024 );
+            msg_Dbg(s, "prebuffering done %zu bytes "
+                    "in %"PRIu64"s - %"PRIu64"u KiB/s", cache_size,
+                    SEC_FROM_VLC_TICK(sys->stat.read_time), byterate / 1024 );
             break;
         }
 



More information about the vlc-commits mailing list