changeset 3007:bec20ba1e194 libavformat

fix 8 "initialization discards qualifiers from pointer target type" warnings
author michael
date Mon, 04 Feb 2008 00:42:27 +0000
parents fa2fb523fd6b
children 6eaceb561ae9
files ape.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ape.c	Mon Feb 04 00:33:52 2008 +0000
+++ b/ape.c	Mon Feb 04 00:42:27 2008 +0000
@@ -50,7 +50,7 @@
 #define TAG(name, field)  {name, offsetof(AVFormatContext, field), sizeof(((AVFormatContext *)0)->field)}
 
 static const struct {
-    char *name;
+    const char *name;
     int offset;
     int size;
 } tags[] = {