From 4df57fda09c04f71a595154ca6962a95666b3685 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Thu, 5 Jan 2012 13:58:48 -0800 Subject: Incorporate Siteshwar's patch for building on Linux --- mimedb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mimedb.cpp') diff --git a/mimedb.cpp b/mimedb.cpp index 4b83e00a..d0187b28 100644 --- a/mimedb.cpp +++ b/mimedb.cpp @@ -267,7 +267,7 @@ static char *file_exists( const char *dir, const char *in ) a slash in the name as a directory separator. We try to replace a dash with a slash and try again. */ - replaceme = strchr( in, '-' ); + replaceme = const_cast(strchr( in, '-' )); if( replaceme ) { char *res; -- cgit v1.2.3