Commit 4bbcaad2 authored by Alexandre Julliard's avatar Alexandre Julliard

crypt32/tests: Avoid sizeof in traces.

parent 13a93b4a
...@@ -1064,7 +1064,7 @@ static void test_decodeUnicodeName(DWORD dwEncoding) ...@@ -1064,7 +1064,7 @@ static void test_decodeUnicodeName(DWORD dwEncoding)
if (buf) if (buf)
{ {
ok(bufSize == sizeof(CERT_NAME_INFO), ok(bufSize == sizeof(CERT_NAME_INFO),
"Expected bufSize %d, got %ld\n", sizeof(CERT_NAME_INFO), bufSize); "Got wrong bufSize %ld\n", bufSize);
ok(((CERT_NAME_INFO *)buf)->cRDN == 0, ok(((CERT_NAME_INFO *)buf)->cRDN == 0,
"Expected 0 RDNs in empty info, got %ld\n", "Expected 0 RDNs in empty info, got %ld\n",
((CERT_NAME_INFO *)buf)->cRDN); ((CERT_NAME_INFO *)buf)->cRDN);
......
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