changeset 4235:ce71070e447d libavformat

Make io_buffer_size unsigned to avoid a warning about comparing signed and unsigned values.
author reimar
date Fri, 16 Jan 2009 16:37:54 +0000
parents 3d57729868a9
children 63c721da20e5
files aviobuf.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aviobuf.c	Fri Jan 16 15:35:51 2009 +0000
+++ b/aviobuf.c	Fri Jan 16 16:37:54 2009 +0000
@@ -783,7 +783,8 @@
 static int url_open_dyn_buf_internal(ByteIOContext **s, int max_packet_size)
 {
     DynBuffer *d;
-    int io_buffer_size, ret;
+    int ret;
+    unsigned io_buffer_size;
 
     if (max_packet_size)
         io_buffer_size = max_packet_size;