summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/sendmessagetask.cpp
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:20:50 +0200
commitc0dd6fa720aa2e5c9a7bbc7f169ec7912905bd3a (patch)
tree6dcc48200acb9822506af4b5e6148f53f14a418c /kopete/protocols/oscar/liboscar/sendmessagetask.cpp
parent3fcbeef084f778509b1ae3753c375295f61cd1f3 (diff)
downloadtdenetwork-c0dd6fa720aa2e5c9a7bbc7f169ec7912905bd3a.tar.gz
tdenetwork-c0dd6fa720aa2e5c9a7bbc7f169ec7912905bd3a.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kopete/protocols/oscar/liboscar/sendmessagetask.cpp')
-rw-r--r--kopete/protocols/oscar/liboscar/sendmessagetask.cpp2
1 files changed, 1 insertions, 1 deletions
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 )