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

This commit is contained in:
Alexandre Julliard 2008-01-07 17:18:07 +01:00
parent 9636c7fa0e
commit ef15bbf1cb

View file

@ -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);
}