crypt32/tests: Cast-qual warnings fix (1 of 2)
Andrew Talbot
Andrew.Talbot at talbotville.com
Thu Dec 7 16:58:06 CST 2006
Changelog:
crypt32/tests: Cast-qual warnings fix (1 of 2).
diff -urN a/dlls/crypt32/tests/store.c b/dlls/crypt32/tests/store.c
--- a/dlls/crypt32/tests/store.c 2006-10-02 21:06:28.000000000 +0100
+++ b/dlls/crypt32/tests/store.c 2006-12-07 21:54:03.000000000 +0000
@@ -667,7 +667,7 @@
{
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 @@
{
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-patches
mailing list