summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-08-19 17:20:50 +0200
committerSlávek Banko <[email protected]>2018-08-19 17:21:06 +0200
commit3187fddb0666f3da3d9ef6e985f88ef7bc35d340 (patch)
tree8f2c1820a2f899b1a79f1d55df465debf5948657 /kopete
parent69a9d3878d310e20164fe84b9493b149e35a1254 (diff)
downloadtdenetwork-3187fddb0666f3da3d9ef6e985f88ef7bc35d340.tar.gz
tdenetwork-3187fddb0666f3da3d9ef6e985f88ef7bc35d340.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit c0dd6fa720aa2e5c9a7bbc7f169ec7912905bd3a)
Diffstat (limited to 'kopete')
-rw-r--r--kopete/protocols/oscar/liboscar/chatnavservicetask.cpp2
-rw-r--r--kopete/protocols/oscar/liboscar/sendmessagetask.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp b/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
index 4a34ae2f..ecec66d4 100644
--- a/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
+++ b/kopete/protocols/oscar/liboscar/chatnavservicetask.cpp
@@ -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 );
diff --git a/kopete/protocols/oscar/liboscar/sendmessagetask.cpp b/kopete/protocols/oscar/liboscar/sendmessagetask.cpp
index af180be1..0f9c8f5f 100644
--- a/kopete/protocols/oscar/liboscar/sendmessagetask.cpp
+++ b/kopete/protocols/oscar/liboscar/sendmessagetask.cpp
@@ -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 )