cryptnet: Sign-compare warning fix

Andrew Talbot andrew.talbot at talbotville.com
Mon Jul 28 16:37:22 CDT 2008


Changelog:
    cryptnet: Sign-compare warning fix.

diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c
index 5bf1afe..2da7d46 100644
--- a/dlls/cryptnet/cryptnet_main.c
+++ b/dlls/cryptnet/cryptnet_main.c
@@ -1362,7 +1362,7 @@ BOOL WINAPI CertDllVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType,
 
             ret = CryptGetObjectUrl(URL_OID_CERTIFICATE_CRL_DIST_POINT,
              rgpvContext[i], 0, NULL, &cbUrlArray, NULL, NULL, NULL);
-            if (!ret && GetLastError() == CRYPT_E_NOT_FOUND)
+            if (!ret && (HRESULT)GetLastError() == CRYPT_E_NOT_FOUND)
             {
                 error = CRYPT_E_NO_REVOCATION_CHECK;
                 pRevStatus->dwIndex = i;



More information about the wine-patches mailing list