diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-29 21:37:57 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-29 21:37:57 +0000 |
commit | 6571a527400a6b5efc787305f57f3052abd1e761 (patch) | |
tree | 8d71858a96d17685d4465ae714e41c34cf4f50ed /protocols/MRA/src/Sdk/SHA1.h | |
parent | 897e185e8b01f4798c685de0ea8226931400b2ec (diff) |
unified project for MRA protocol
git-svn-id: http://svn.miranda-ng.org/main/trunk@13260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Sdk/SHA1.h')
-rw-r--r-- | protocols/MRA/src/Sdk/SHA1.h | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|