diff options
author | phintuka <phintuka> | 2007-06-06 20:06:13 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-06-06 20:06:13 +0000 |
commit | 4d77c92caecbf856be50a94d82c99964b0df583f (patch) | |
tree | 4c783b856177a472cc72e4571187d010c3488806 | |
parent | b8bfe05b4f04129fa62e6a937d0174a7fac55a22 (diff) | |
download | xineliboutput-4d77c92caecbf856be50a94d82c99964b0df583f.tar.gz xineliboutput-4d77c92caecbf856be50a94d82c99964b0df583f.tar.bz2 |
Mark strings as constant
(gcc 4.3.0: deprecated conversion from string constant to 'char*')
-rw-r--r-- | tools/http.c | 6 |
1 files changed, 3 insertions, 3 deletions
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"}, |