--- mysql-gui-common/source/linux/MySQLGRT/MGRT.cc 2006-09-05 18:04:50.000000000 -0400 +++ mysql-gui-common/source/linux/MySQLGRT/MGRT.cc.oden 2009-10-05 08:33:31.000000000 -0400 @@ -891,7 +891,7 @@ void MGRT::set_global_value(const char * void MGRT::unset_global_value(const char *path) { - char *end= strrchr(path, '/'); + const char *end= strrchr(path, '/'); std::string subpath(path, end-path); MYX_GRT_VALUE *dict;