summaryrefslogtreecommitdiffstats
path: root/kcmshell/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcmshell/main.cpp')
-rw-r--r--kcmshell/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcmshell/main.cpp b/kcmshell/main.cpp
index edd48f911..80abb405e 100644
--- a/kcmshell/main.cpp
+++ b/kcmshell/main.cpp
@@ -225,7 +225,7 @@ extern "C" KDE_EXPORT int kdemain(int _argc, char *_argv[])
if (args->isSet("list"))
{
- cout << i18n("The following modules are available:").local8Bit() << endl;
+ cout << static_cast<const char *>(i18n("The following modules are available:").local8Bit()) << endl;
listModules( "Settings/" );
@@ -246,7 +246,7 @@ extern "C" KDE_EXPORT int kdemain(int _argc, char *_argv[])
.arg(!(*it)->comment().isEmpty() ? (*it)->comment()
: i18n("No description available"));
- cout << entry.local8Bit() << endl;
+ cout << static_cast<const char *>(entry.local8Bit()) << endl;
}
return 0;
}