Module: wine Branch: master Commit: 6f1326fac162afc62d4c1be1772ab9075b77a812 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6f1326fac162afc62d4c1be177...
Author: Francois Gouget fgouget@free.fr Date: Sun Aug 29 23:39:55 2010 +0200
shell32/tests: Fix compilation on systems that don't support nameless unions.
---
dlls/shell32/tests/shlfolder.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c index 34bf59d..e766adf 100644 --- a/dlls/shell32/tests/shlfolder.c +++ b/dlls/shell32/tests/shlfolder.c @@ -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);