From 408ed51cdb6c3e7e9d1ef0141b3c4e1c49121489 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Fri, 15 Feb 2008 11:38:38 +0000 Subject: Fix opt.c: In function ‘av_set_string’: opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/opt.c') diff --git a/libavcodec/opt.c b/libavcodec/opt.c index b4819102f9..42e8eff9fa 100644 --- a/libavcodec/opt.c +++ b/libavcodec/opt.c @@ -151,7 +151,7 @@ const AVOption *av_set_string(void *obj, const char *name, const char *val){ char buf[256]; int cmd=0; double d; - char *error = NULL; + const char *error = NULL; if(*val == '+' || *val == '-') cmd= *(val++); -- cgit v1.2.3