summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/http.c b/tools/http.c
index 4a529550..0e7de26a 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.6 2007-06-21 09:12:52 phintuka Exp $
+ * $Id: http.c,v 1.7 2009-06-02 08:37:58 phintuka Exp $
*
*/
@@ -297,7 +297,7 @@ bool cHttpStreamer::Seek(void)
}
/* content type */
- char *ext = strrchr(m_Filename, '.');
+ const char *ext = strrchr(m_Filename, '.');
if(ext) {
const char *mime = mimetype(ext+1);
if(mime)