diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c index 27f48707b22..ce068f3c473 100644 --- a/dlls/crypt32/decode.c +++ b/dlls/crypt32/decode.c @@ -2582,7 +2582,7 @@ static BOOL CRYPT_AsnDecodeUnicodeString(const BYTE *pbEncoded, if (dataLen) { DWORD i; - LPWSTR str = *(LPWSTR *)pStr; + LPWSTR str = *pStr; assert(str); switch (pbEncoded[0])