diff utils.c @ 290:7a3ed84008ec libavformat

GCC 3.3.2 warnings patch by (Panagiotis Issaris <takis at lumumba dot luc dot ac dot be>)
author michael
date Sun, 26 Oct 2003 10:49:49 +0000
parents 9f4f4ca9f7b5
children 62cec412a186
line wrap: on
line diff
--- a/utils.c	Sat Oct 25 04:41:53 2003 +0000
+++ b/utils.c	Sun Oct 26 10:49:49 2003 +0000
@@ -294,7 +294,7 @@
 {
     AVFormatContext *ic = NULL;
     int err, must_open_file;
-    char buf[PROBE_BUF_SIZE];
+    unsigned char buf[PROBE_BUF_SIZE];
     AVProbeData probe_data, *pd = &probe_data;
 
     ic = av_mallocz(sizeof(AVFormatContext));
@@ -1440,8 +1440,8 @@
                        const char *path, int number)
 {
     const char *p;
-    char *q, buf1[20];
-    int nd, len, c, percentd_found;
+    char *q, buf1[20], c;
+    int nd, len, percentd_found;
 
     q = buf;
     p = path;