Commit 43605806 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

crypt32/tests: Cast-qual warnings fix.

parent de963204
...@@ -667,7 +667,7 @@ static void testRegStore(void) ...@@ -667,7 +667,7 @@ static void testRegStore(void)
{ {
ok(hdr->cb == sizeof(bigCert2), ok(hdr->cb == sizeof(bigCert2),
"Wrong size %d of cert property\n", hdr->cb); "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->cb), "Unexpected cert in cert property\n");
} }
hdr = findPropID(buf, size, CERT_HASH_PROP_ID); hdr = findPropID(buf, size, CERT_HASH_PROP_ID);
...@@ -676,7 +676,7 @@ static void testRegStore(void) ...@@ -676,7 +676,7 @@ static void testRegStore(void)
{ {
ok(hdr->cb == sizeof(hash), ok(hdr->cb == sizeof(hash),
"Wrong size %d of hash property\n", hdr->cb); "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"); hdr->cb), "Unexpected hash in cert property\n");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment