Alexandre Julliard : crypt32/tests: Avoid sizeof in traces.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 25 13:34:16 CDT 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Aug 25 18:37:38 2006 +0200

crypt32/tests: Avoid sizeof in traces.

---

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

diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index 6576f6c..50e3725 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -1064,7 +1064,7 @@ static void test_decodeUnicodeName(DWORD
     if (buf)
     {
         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,
          "Expected 0 RDNs in empty info, got %ld\n",
          ((CERT_NAME_INFO *)buf)->cRDN);




More information about the wine-cvs mailing list