summaryrefslogtreecommitdiffstats
path: root/kioslave/smtp/response.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/smtp/response.cc')
-rw-r--r--kioslave/smtp/response.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kioslave/smtp/response.cc b/kioslave/smtp/response.cc
index ec5067871..8ae8cdceb 100644
--- a/kioslave/smtp/response.cc
+++ b/kioslave/smtp/response.cc
@@ -103,10 +103,10 @@ namespace KioSMTP {
TQString msg;
if ( lines().count() > 1 )
msg = i18n("The server responded:\n%1")
- .arg( join( '\n', lines() ) );
+ .arg( static_cast<const char *>(join( '\n', lines()) ) );
else
msg = i18n("The server responded: \"%1\"")
- .arg( lines().front() );
+ .arg( static_cast<const char *>(lines().front()) );
if ( first() == 4 )
msg += '\n' + i18n("This is a temporary failure. "
"You may try again later.");