summaryrefslogtreecommitdiff
path: root/Cryptlib/Hash/CryptSha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'Cryptlib/Hash/CryptSha1.c')
-rw-r--r--Cryptlib/Hash/CryptSha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cryptlib/Hash/CryptSha1.c b/Cryptlib/Hash/CryptSha1.c
index 42cfd08a..3e67a805 100644
--- a/Cryptlib/Hash/CryptSha1.c
+++ b/Cryptlib/Hash/CryptSha1.c
@@ -92,7 +92,7 @@ Sha1Duplicate (
return FALSE;
}
- CopyMem (NewSha1Context, Sha1Context, sizeof (SHA_CTX));
+ CopyMem (NewSha1Context, (void *)Sha1Context, sizeof (SHA_CTX));
return TRUE;
}