Andrew Talbot : crypt32/tests: Cast-qual warnings fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Dec 8 06:06:52 CST 2006
Module: wine
Branch: master
Commit: 43605806c5dad0f89c086d45432eda66069aebfa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=43605806c5dad0f89c086d45432eda66069aebfa
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Thu Dec 7 22:58:06 2006 +0000
crypt32/tests: Cast-qual warnings fix.
---
dlls/crypt32/tests/store.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/tests/store.c b/dlls/crypt32/tests/store.c
index 3b5f183..e251d98 100644
--- a/dlls/crypt32/tests/store.c
+++ b/dlls/crypt32/tests/store.c
@@ -667,7 +667,7 @@ static void testRegStore(void)
{
ok(hdr->cb == sizeof(bigCert2),
"Wrong size %d of cert property\n", hdr->cb);
- ok(!memcmp((BYTE *)hdr + sizeof(*hdr), bigCert2,
+ ok(!memcmp((const BYTE *)hdr + sizeof(*hdr), bigCert2,
hdr->cb), "Unexpected cert in cert property\n");
}
hdr = findPropID(buf, size, CERT_HASH_PROP_ID);
@@ -676,7 +676,7 @@ static void testRegStore(void)
{
ok(hdr->cb == sizeof(hash),
"Wrong size %d of hash property\n", hdr->cb);
- ok(!memcmp((BYTE *)hdr + sizeof(*hdr), hash,
+ ok(!memcmp((const BYTE *)hdr + sizeof(*hdr), hash,
hdr->cb), "Unexpected hash in cert property\n");
}
}
More information about the wine-cvs
mailing list