Commit ef15bbf1 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 9636c7fa
......@@ -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);
}
......
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