diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 16:45:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 16:45:15 +0200 |
commit | 3960494a9e4c642beef587020f05b42de5b1f758 (patch) | |
tree | e5aec056c0803fbe620083ceac20e9e5a5f0b39c | |
parent | 5f75518449580877760188ddc0d86007fef4b4f5 (diff) | |
download | tdenetwork-3960494a9e4c642beef587020f05b42de5b1f758.tar.gz tdenetwork-3960494a9e4c642beef587020f05b42de5b1f758.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | kopete/libkopete/kopeteaccount.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/jabber/libiris/cutestuff/util/base64.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kopete/libkopete/kopeteaccount.cpp b/kopete/libkopete/kopeteaccount.cpp index 4ea6909c..ac072f40 100644 --- a/kopete/libkopete/kopeteaccount.cpp +++ b/kopete/libkopete/kopeteaccount.cpp @@ -257,7 +257,7 @@ Kopete::MetaContact* Account::addContact( const TQString &contactId, const TQStr KMessageBox::queuedMessageBox( Kopete::UI::Global::mainWidget(), KMessageBox::Error, i18n("You are not allowed to add yourself to the contact list. The addition of \"%1\" to account \"%2\" will not take place.").arg(contactId,accountId()), i18n("Error Creating Contact") ); - return false; + return 0; } bool isTemporary = mode == Temporary; diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/base64.cpp b/kopete/protocols/jabber/libiris/cutestuff/util/base64.cpp index 39b2c57f..4b296bb6 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/util/base64.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/util/base64.cpp @@ -83,7 +83,7 @@ TQByteArray Base64::decode(const TQByteArray &s) // 64 specifies eof // everything else specifies data - char tbl[] = { + signed char tbl[] = { -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63, |