Mike McCormack : crypt32: Fix a warning.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Mar 18 12:50:59 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 32f6b71c769b443f648f498e7061b8591fc7917a
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=32f6b71c769b443f648f498e7061b8591fc7917a

Author: Mike McCormack <mike at codeweavers.com>
Date:   Fri Mar 17 22:48:56 2006 +0900

crypt32: Fix a warning.

---

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

diff --git a/dlls/crypt32/tests/store.c b/dlls/crypt32/tests/store.c
index 68356f7..bc52ebf 100644
--- a/dlls/crypt32/tests/store.c
+++ b/dlls/crypt32/tests/store.c
@@ -267,7 +267,7 @@ static void testGetSubjectCert(void)
 
     store = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, 0,
      CERT_STORE_CREATE_NEW_FLAG, NULL);
-    ok(store, "CertOpenStore failed: %ld\n", GetLastError());
+    ok(store != NULL, "CertOpenStore failed: %ld\n", GetLastError());
     if (store != NULL)
     {
         PCCERT_CONTEXT context1, context2;




More information about the wine-cvs mailing list