mysql-gui-tools/mysql-gui-tools-5.0r14-invalid_const_char_conversion.diff
2012-02-01 20:52:06 +04:00

11 lines
437 B
Diff

--- 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;