Michael Stefaniuc : crypt32: Remove useless cast to self.

Alexandre Julliard julliard at winehq.org
Tue Feb 12 16:36:36 CST 2019


Module: wine
Branch: master
Commit: e02d441ebf0a91fbd9b5a8970cc3f28c5a5c7972
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e02d441ebf0a91fbd9b5a8970cc3f28c5a5c7972

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Mon Feb 11 22:34:59 2019 +0100

crypt32: Remove useless cast to self.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard 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 27f4870..ce068f3 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])




More information about the wine-cvs mailing list