From 6f1326fac162afc62d4c1be1772ab9075b77a812 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sun, 29 Aug 2010 23:39:55 +0200 Subject: [PATCH] shell32/tests: Fix compilation on systems that don't support nameless unions. --- dlls/shell32/tests/shlfolder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c index 34bf59da5f7..e766adfe388 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);