diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-05 13:58:48 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-05 13:58:48 -0800 |
commit | 4df57fda09c04f71a595154ca6962a95666b3685 (patch) | |
tree | f49faae476f3f419df44e4da11690ee8e94f7705 /mimedb.cpp | |
parent | 6f45832aed0136e9f891da8eaa754c2b7f378848 (diff) |
Incorporate Siteshwar's patch for building on Linux
Diffstat (limited to 'mimedb.cpp')
-rw-r--r-- | mimedb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |