]> git.sesse.net Git - vlc/blobdiff - modules/access_filter/bandwidth.c
Use the new block_Fifo functions
[vlc] / modules / access_filter / bandwidth.c
index 77f7e0cc3164e120a53eab5ad45b4ef3f6b6a6e4..ac075f60d78304668192afb62a522ec2fed782fd 100644 (file)
@@ -21,8 +21,6 @@
 
 #include <vlc/vlc.h>
 
-#include <stdio.h>
-#include <stdlib.h>
 #include <assert.h>
 #include <errno.h>
 
@@ -92,7 +90,8 @@ static int Open (vlc_object_t *obj)
     p_sys->bandwidth = var_CreateGetInteger (access, "access-bandwidth");
     p_sys->last_time = mdate ();
 
-    msg_Dbg (obj, "bandwidth limit: %u bytes/s", p_sys->bandwidth);
+    msg_Dbg (obj, "bandwidth limit: %lu bytes/s",
+             (unsigned long)p_sys->bandwidth);
     return VLC_SUCCESS;
 }