Andrew Talbot : crypt32/tests: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Sep 7 07:12:23 CDT 2006


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Tue Sep  5 17:04:17 2006 +0100

crypt32/tests: Cast-qual warning fix.

---

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

diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c
index c5d2689..0eb68c4 100644
--- a/dlls/crypt32/tests/oid.c
+++ b/dlls/crypt32/tests/oid.c
@@ -430,7 +430,7 @@ static void test_enumOIDInfo(void)
 
 static void test_findOIDInfo(void)
 {
-    static const WCHAR sha1[] = { 's','h','a','1',0 };
+    static WCHAR sha1[] = { 's','h','a','1',0 };
     static CHAR oid_rsa_md5[] = szOID_RSA_MD5;
     ALG_ID alg = CALG_SHA1;
     ALG_ID algs[2] = { CALG_MD5, CALG_RSA_SIGN };
@@ -447,7 +447,7 @@ static void test_findOIDInfo(void)
         ok(U(*info).Algid == CALG_MD5, "Expected CALG_MD5, got %d\n",
            U(*info).Algid);
     }
-    info = CryptFindOIDInfo(CRYPT_OID_INFO_NAME_KEY, (void *)sha1, 0);
+    info = CryptFindOIDInfo(CRYPT_OID_INFO_NAME_KEY, sha1, 0);
     ok(info != NULL, "Expected to find sha1\n");
     if (info)
     {




More information about the wine-cvs mailing list