summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-04 20:23:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-04 20:25:28 +0300
commit32d60b8e9492f6bbaaa00cc36632a8d195c9a1a3 (patch)
tree46eec81afffe01b4e283186fe795ca4ae862dd53 /protocols
parent423151d3c791f4e77d74385abf6ec0b657be0c56 (diff)
warning fixes
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MRA/src/Mra_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/Mra_functions.cpp b/protocols/MRA/src/Mra_functions.cpp
index e5c76b7811..6fc14f60e7 100644
--- a/protocols/MRA/src/Mra_functions.cpp
+++ b/protocols/MRA/src/Mra_functions.cpp
@@ -1342,7 +1342,7 @@ bool CMraProto::GetPassDB(CMStringA &res)
SHA1GetDigest(pDecoded, dwDecodedSize, btRandomData);
if (0 != memcmp(&btCryptedPass[1], btRandomData, MIR_SHA1_HASH_SIZE))
return false;
- res = CMStringA((LPSTR)(PBYTE)pDecoded, dwDecodedSize);
+ res = CMStringA((LPSTR)(PBYTE)pDecoded, (int)dwDecodedSize);
}
else return false;
}