Alexandre Julliard : advapi32/tests: Print the correct size in an error message.

Alexandre Julliard julliard at winehq.org
Mon Jan 7 16:24:55 CST 2008


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jan  7 17:18:07 2008 +0100

advapi32/tests: Print the correct size in an error message.

---

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

diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c
index 23af17c..2ca2424 100644
--- a/dlls/advapi32/tests/registry.c
+++ b/dlls/advapi32/tests/registry.c
@@ -282,7 +282,7 @@ static void test_hkey_main_Value_W(LPCWSTR name, LPCWSTR string,
     }
     ok(memcmp(value, string, cbData) == 0, "RegQueryValueExW failed: %s/%d != %s/%d\n",
        wine_debugstr_wn(value, cbData / sizeof(WCHAR)), cbData,
-       wine_debugstr_wn(string, full_byte_len / sizeof(WCHAR)), full_byte_len / sizeof(WCHAR));
+       wine_debugstr_wn(string, full_byte_len / sizeof(WCHAR)), full_byte_len);
     HeapFree(GetProcessHeap(), 0, value);
 }
 




More information about the wine-cvs mailing list