[PATCH] crypt32: Remove useless cast to self

Michael Stefaniuc mstefani at winehq.org
Mon Feb 11 15:34:59 CST 2019


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/crypt32/decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the wine-devel mailing list