From: Yuxuan Shui yshui@codeweavers.com
--- dlls/propsys/tests/propsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/propsys/tests/propsys.c b/dlls/propsys/tests/propsys.c index 4314467b51c..749704eb9c2 100644 --- a/dlls/propsys/tests/propsys.c +++ b/dlls/propsys/tests/propsys.c @@ -1980,7 +1980,7 @@ static void test_PropVariantToBSTR(void) ok(hr == S_OK, "PropVariantToBSTR returned %#lx.\n", hr); length = SysStringLen(bstr); ok(length == wcslen(test_bstr), "Unexpected length %u.\n", length); - ok(!wcscmp(bstr, test_bstr), "Unexpected bstr %s.", debugstr_wn(bstr, ARRAY_SIZE(test_bstr))); + ok(!wcscmp(bstr, test_bstr), "Unexpected bstr %s.", debugstr_wn(bstr, length)); SysFreeString(bstr); PropVariantClear(&propvar); }