]> git.sesse.net Git - vlc/blobdiff - modules/access_filter/bandwidth.c
Format string fixes
[vlc] / modules / access_filter / bandwidth.c
index ca0dd00af5df46924acbea1ba338ef10641af77a..bc1d711e082845682f315626b898b509037f330c 100644 (file)
@@ -23,7 +23,8 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
 
 #include <assert.h>
 #include <errno.h>
@@ -41,8 +42,8 @@ static void Close (vlc_object_t *);
 /* TODO: burst support */
 
 vlc_module_begin ();
-    set_shortname (_("Bandwidth"));
-    set_description (_("Bandwidth limiter"));
+    set_shortname (N_("Bandwidth"));
+    set_description (N_("Bandwidth limiter"));
     set_category (CAT_INPUT);
     set_subcategory (SUBCAT_INPUT_ACCESS_FILTER);
     set_capability ("access_filter", 0);
@@ -143,7 +144,7 @@ retry:
 
     if (len > delta)
     {
-        msg_Dbg (access, "reading %u bytes instead of %u", (unsigned)delta,
+        msg_Dbg (access, "reading %"PRIu64" bytes instead of %zu", delta,
                  len);
         len = (int)delta;
     }