--- a/config.cpp Sat Apr 27 16:22:35 2013 +0300
+++ b/config.cpp Sun Apr 28 04:04:36 2013 +0300
@@ -121,7 +121,7 @@
break;
}
- switch (const_cast<config*> (cfg)->getType()) {
+ switch (cfg->getType()) {
case CONFIG_int:
static_cast<intconfig*> (cfg)->value = atoi (valstring.chars());
break;