shell32/tests: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
b462bc223a
commit
6f1326fac1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue