Commit 6f1326fa authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

shell32/tests: Fix compilation on systems that don't support nameless unions.

parent b462bc22
......@@ -3652,13 +3652,13 @@ static void r_verify_pidl(unsigned l, LPCITEMIDLIST pidl, const WCHAR *path)
ok_(__FILE__,l)(filename.uType == STRRET_WSTR || filename.uType == STRRET_CSTR,
"Got unexpected string type: %d\n", filename.uType);
if(filename.uType == STRRET_WSTR){
ok_(__FILE__,l)(lstrcmpW(path, filename.pOleStr) == 0,
ok_(__FILE__,l)(lstrcmpW(path, U(filename).pOleStr) == 0,
"didn't get expected path (%s), instead: %s\n",
wine_dbgstr_w(path), wine_dbgstr_w(filename.pOleStr));
wine_dbgstr_w(path), wine_dbgstr_w(U(filename).pOleStr));
}else if(filename.uType == STRRET_CSTR){
ok_(__FILE__,l)(strcmp_wa(path, filename.cStr) == 0,
ok_(__FILE__,l)(strcmp_wa(path, U(filename).cStr) == 0,
"didn't get expected path (%s), instead: %s\n",
wine_dbgstr_w(path), filename.cStr);
wine_dbgstr_w(path), U(filename).cStr);
}
IShellFolder_Release(parent);
......
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