From 6571a527400a6b5efc787305f57f3052abd1e761 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 29 Apr 2015 21:37:57 +0000 Subject: unified project for MRA protocol git-svn-id: http://svn.miranda-ng.org/main/trunk@13260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Sdk/SHA1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/MRA/src/Sdk/SHA1.h') diff --git a/protocols/MRA/src/Sdk/SHA1.h b/protocols/MRA/src/Sdk/SHA1.h index 96449340bd..74e83edd8b 100644 --- a/protocols/MRA/src/Sdk/SHA1.h +++ b/protocols/MRA/src/Sdk/SHA1.h @@ -80,7 +80,7 @@ __inline void SHA1GetDigest(LPVOID lpBuff,size_t dwBuffSize,BYTE *digest) mir_sha1_ctx sha; mir_sha1_init(&sha); - mir_sha1_append(&sha,(BYTE*)lpBuff,dwBuffSize); + mir_sha1_append(&sha,(BYTE*)lpBuff,(int)dwBuffSize); mir_sha1_finish(&sha,digest); } -- cgit v1.2.3