From ce69f84c56ce49ba4258f1e78476778f96e02722 Mon Sep 17 00:00:00 2001 From: phintuka Date: Tue, 2 Jun 2009 08:37:58 +0000 Subject: Added const --- tools/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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) -- cgit v1.2.3