Francois Gouget : crypt32: Remove unneeded casts of zero.

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:46:16 CST 2008


Module: wine
Branch: master
Commit: 42abd3b03a3dfa33e54883dad13426e04719cfbf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=42abd3b03a3dfa33e54883dad13426e04719cfbf

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Dec  8 09:26:31 2008 +0100

crypt32: Remove unneeded casts of zero.

---

 dlls/crypt32/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/main.c b/dlls/crypt32/main.c
index 38f7560..d93163c 100644
--- a/dlls/crypt32/main.c
+++ b/dlls/crypt32/main.c
@@ -179,7 +179,7 @@ HCRYPTPROV WINAPI I_CryptGetDefaultCryptProv(DWORD reserved)
     if (reserved)
     {
         SetLastError(E_INVALIDARG);
-        return (HCRYPTPROV)0;
+        return 0;
     }
     ret = CRYPT_GetDefaultProvider();
     CryptContextAddRef(ret, NULL, 0);




More information about the wine-cvs mailing list