diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-05-18 17:37:18 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-05-18 17:38:45 +0300 |
commit | 26e399a134e9c891ad6e8a2f59a0b6216b28169b (patch) | |
tree | dd7fb850d623db5a820529f8e217e698b10ba6d8 /protocols/JabberG | |
parent | 184a5605996658f20c65d3b89f9c155b12e62585 (diff) |
jabber: omemo: 4.5 another signed/unsigned fix
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-x | protocols/JabberG/src/jabber_omemo.cpp | 2 |
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);
|