Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 37867368c3258f97a112f40938285ae3 > files > 10

mysql-gui-tools-5.0-1.r14.6mdv2010.1.src.rpm

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