Fix FTBFS with stricter C++11

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent 3fcbeef084
commit c0dd6fa720
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -106,7 +106,7 @@ bool ChatNavServiceTask::take( Transfer* transfer )
void ChatNavServiceTask::onGo()
{
FLAP f = { 0x02, 0, 0x00 };
SNAC s = { 0x000D, m_type, 0x0000, client()->snacSequence() };
SNAC s = { 0x000D, (unsigned short)m_type, 0x0000, client()->snacSequence() };
Buffer* b = new Buffer();
Transfer* t = createTransfer( f, s, b );

@ -60,7 +60,7 @@ void SendMessageTask::onGo()
snacSubfamily = 0x000B;
}
FLAP f = { 0x02, 0, 0 };
SNAC s = { 0x0004, snacSubfamily, 0x0000, client()->snacSequence() };
SNAC s = { 0x0004, (unsigned short)snacSubfamily, 0x0000, client()->snacSequence() };
Buffer* b = new Buffer();
if ( snacSubfamily == 0x0006 )

@ -53,7 +53,7 @@
void printVersion()
{
const char * versionInfo=\
"\r\nThis is the LAN Information Server LISa "MYVERSION"\r\n"\
"\r\nThis is the LAN Information Server LISa " MYVERSION "\r\n"\
"It is free software according the GNU General Public License\r\n"\
"Copyright (c) 2000-2003 by Alexander Neundorf\r\n"\
"email: neundorf@kde.org\r\n";

@ -1033,7 +1033,7 @@ void NetManager::getListFromServerServer( int address)
void NetManager::printState()
{
std::cerr<<"LAN Information Server Lisa "MYVERSION"\nAlexander Neundorf <neundorf@kde.org>\n";
std::cerr<<"LAN Information Server Lisa " MYVERSION "\nAlexander Neundorf <neundorf@kde.org>\n";
std::cerr<<"Reading options from config file: "<<m_usedConfigFileName<<std::endl;
std::cerr<<"StrictMode: "<<m_strictMode<<std::endl;
std::cerr<<"ServerServer: "<<m_serverServer<<std::endl;

@ -52,7 +52,7 @@
void printVersion()
{
const char * versionInfo=\
"\r\nThis is the restricted LAN Information Server resLISa "MYVERSION"\r\n"\
"\r\nThis is the restricted LAN Information Server resLISa " MYVERSION "\r\n"\
"It is free software according the GNU General Public License\r\n"\
"Copyright (c) 2000-2003 by Alexander Neundorf\r\n"\
"email: neundorf@kde.org\r\n";

Loading…
Cancel
Save