aboutsummaryrefslogtreecommitdiffhomepage
path: root/mimedb.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-18 00:22:30 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-18 00:25:29 +0530
commit6e58c9f7c8f21b4e5eaa698d275eefe013117cdf (patch)
treecee3a08e3b4b8cd8c731a7b03d4f2dcdc0b9a7ad /mimedb.cpp
parenta08450bcb6050cc630d87ae6d7d5f203f8eeca62 (diff)
Switched to std::map instead of hash_table_t in env.cpp and env_universal_common.cpp.
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 29b230fd..9e1e4af1 100644
--- a/mimedb.cpp
+++ b/mimedb.cpp
@@ -728,7 +728,7 @@ static char *get_action( const char *mimetype )
}
// fprintf( stderr, "WOOT %s\n", launcher_str );
- launcher = strchr( launcher_str, '=' );
+ launcher = const_cast<char*>(strchr( launcher_str, '=' ));
if( !launcher )
{