From 5319668a30481ede52356cdcc1b09a5535132eec Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Mon, 13 Nov 2006 19:19:11 +0000 Subject: [PATCH] rsaenh: Cast-qual warning fix. --- dlls/rsaenh/implglue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/rsaenh/implglue.c b/dlls/rsaenh/implglue.c index 30f3cb6d5a9..32268a14f73 100644 --- a/dlls/rsaenh/implglue.c +++ b/dlls/rsaenh/implglue.c @@ -42,7 +42,7 @@ VOID WINAPI MD5Update( MD5_CTX *ctx, const unsigned char *buf, unsigned int len VOID WINAPI MD5Final( MD5_CTX *ctx ); /* Function prototypes copied from dlls/advapi32/crypt_sha.c */ VOID WINAPI A_SHAInit(PSHA_CTX Context); -VOID WINAPI A_SHAUpdate(PSHA_CTX Context, PCHAR Buffer, UINT BufferSize); +VOID WINAPI A_SHAUpdate(PSHA_CTX Context, const unsigned char *Buffer, UINT BufferSize); VOID WINAPI A_SHAFinal(PSHA_CTX Context, PULONG Result); /* Function prototype copied from dlls/advapi32/crypt.c */ BOOL WINAPI SystemFunction036(PVOID pbBuffer, ULONG dwLen); @@ -89,7 +89,7 @@ BOOL update_hash_impl(ALG_ID aiAlgid, HASH_CONTEXT *pHashContext, CONST BYTE *pb break; case CALG_SHA: - A_SHAUpdate(&pHashContext->sha, (PCHAR)pbData, dwDataLen); + A_SHAUpdate(&pHashContext->sha, pbData, dwDataLen); break; default: -- 2.11.4.GIT