From 4d77c92caecbf856be50a94d82c99964b0df583f Mon Sep 17 00:00:00 2001 From: phintuka Date: Wed, 6 Jun 2007 20:06:13 +0000 Subject: Mark strings as constant (gcc 4.3.0: deprecated conversion from string constant to 'char*') --- tools/http.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/http.c b/tools/http.c index 4ac89314..5620b2e4 100644 --- a/tools/http.c +++ b/tools/http.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: http.c,v 1.3 2007-01-07 09:49:59 phintuka Exp $ + * $Id: http.c,v 1.4 2007-06-06 20:06:13 phintuka Exp $ * */ @@ -107,8 +107,8 @@ void cHttpReq::Reset(void) static const char *mimetype(const char *ext) { static const struct { - char *ext; - char *mime; + const char *ext; + const char *mime; } ext2mime[] = { {"avi", "video/avi"}, {"vob", "video/mpeg"}, -- cgit v1.2.3