Commit c090aab1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

combase/tests: Use the ARRAY_SIZE() macro.

parent 143ce73c
......@@ -74,10 +74,10 @@ static void test_ActivationFactories(void)
return;
}
hr = pWindowsCreateString(xmldocumentW, sizeof(xmldocumentW)/sizeof(WCHAR) - 1, &str);
hr = pWindowsCreateString(xmldocumentW, ARRAY_SIZE(xmldocumentW) - 1, &str);
ok(hr == S_OK, "got %08x\n", hr);
hr = pWindowsCreateString(nonexistW, sizeof(nonexistW)/sizeof(WCHAR) - 1, &str2);
hr = pWindowsCreateString(nonexistW, ARRAY_SIZE(nonexistW) - 1, &str2);
ok(hr == S_OK, "got %08x\n", hr);
hr = pRoInitialize(RO_INIT_MULTITHREADED);
......
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