Paul Vriens : shell32: Cast-qual warnings fix.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 30 05:22:23 CST 2006


Module: wine
Branch: master
Commit: 1af1ead894fa4ae369370d577d96a8617b90484c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1af1ead894fa4ae369370d577d96a8617b90484c

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Sun Oct 29 10:36:57 2006 +0100

shell32: Cast-qual warnings fix.

---

 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 */




More information about the wine-cvs mailing list