summaryrefslogtreecommitdiff
path: root/Cryptlib/Hash/CryptSha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'Cryptlib/Hash/CryptSha256.c')
-rw-r--r--Cryptlib/Hash/CryptSha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cryptlib/Hash/CryptSha256.c b/Cryptlib/Hash/CryptSha256.c
index 06ecb2e9..05bc6b0a 100644
--- a/Cryptlib/Hash/CryptSha256.c
+++ b/Cryptlib/Hash/CryptSha256.c
@@ -91,7 +91,7 @@ Sha256Duplicate (
return FALSE;
}
- CopyMem (NewSha256Context, Sha256Context, sizeof (SHA256_CTX));
+ CopyMem (NewSha256Context, (void *)Sha256Context, sizeof (SHA256_CTX));
return TRUE;
}