aboutsummaryrefslogtreecommitdiffhomepage
path: root/mimedb.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-05 13:58:48 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-05 13:58:48 -0800
commit4df57fda09c04f71a595154ca6962a95666b3685 (patch)
treef49faae476f3f419df44e4da11690ee8e94f7705 /mimedb.cpp
parent6f45832aed0136e9f891da8eaa754c2b7f378848 (diff)
Incorporate Siteshwar's patch for building on Linux
Diffstat (limited to 'mimedb.cpp')
-rw-r--r--mimedb.cpp2
1 files changed, 1 insertions, 1 deletions
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<char*>(strchr( in, '-' ));
if( replaceme )
{
char *res;