summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-05-18 17:37:18 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-05-18 17:38:45 +0300
commit26e399a134e9c891ad6e8a2f59a0b6216b28169b (patch)
treedd7fb850d623db5a820529f8e217e698b10ba6d8 /protocols/JabberG
parent184a5605996658f20c65d3b89f9c155b12e62585 (diff)
jabber: omemo: 4.5 another signed/unsigned fix
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-xprotocols/JabberG/src/jabber_omemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_omemo.cpp b/protocols/JabberG/src/jabber_omemo.cpp
index 5cd8326de8..27f4cd92fd 100755
--- a/protocols/JabberG/src/jabber_omemo.cpp
+++ b/protocols/JabberG/src/jabber_omemo.cpp
@@ -2233,7 +2233,7 @@ unsigned int CJabberProto::OmemoEncryptMessage(XmlNode &msg, const wchar_t *msg_
else
{
HXML key_node= header << XCHILD(L"key");
- key_node << XATTRI(L"rid", intdev_id);
+ key_node << XATTRI64(L"rid", intdev_id);
signal_buffer *serialized_encrypted_key = ciphertext_message_get_serialized(encrypted_key);
char *key_base64 = mir_base64_encode(signal_buffer_data(serialized_encrypted_key), (unsigned int)signal_buffer_len(serialized_encrypted_key));
wchar_t *key_base64w = mir_a2u(key_base64);