crypt32: Remove unneeded casts of zero.

Francois Gouget fgouget at free.fr
Mon Dec 8 02:26:31 CST 2008


---
 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);
-- 
1.5.6.5




More information about the wine-patches mailing list