[shell32] Cast-qual warnings fix
Paul Vriens
paul.vriens.wine at gmail.com
Sun Oct 29 03:36:57 CST 2006
Hi,
fix the warning and remove the not needed cast.
Changelog
Cast-qual warnings fix.
Cheers,
Paul.
---
dlls/shell32/tests/shlfolder.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index a975391..6332d1f 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -624,7 +624,7 @@ static void test_GetAttributesOf(void)
'A','2','D','8','-','0','8','0','0','2','B','3','0','3','0','9','D','}',0 };
char cCurrDirA [MAX_PATH] = {0};
WCHAR cCurrDirW [MAX_PATH];
- static const WCHAR cTestDirW[] = {'t','e','s','t','d','i','r',0};
+ static WCHAR cTestDirW[] = {'t','e','s','t','d','i','r',0};
static const WCHAR cBackSlash[] = {'\\',0};
IShellFolder *IDesktopFolder, *testIShellFolder;
ITEMIDLIST *newPIDL;
@@ -713,7 +713,7 @@ static void test_GetAttributesOf(void)
IMalloc_Free(ppM, newPIDL);
/* get relative PIDL */
- hr = IShellFolder_ParseDisplayName(testIShellFolder, NULL, NULL, (LPWSTR)cTestDirW, NULL, &newPIDL, 0);
+ hr = IShellFolder_ParseDisplayName(testIShellFolder, NULL, NULL, cTestDirW, NULL, &newPIDL, 0);
ok(hr == S_OK, "ParseDisplayName failed %08x\n", hr);
/* test the shell attributes of the test directory using the relative PIDL */
--
1.4.3.3
More information about the wine-patches
mailing list