shell32: Cast-qual warnings fix.

This commit is contained in:
Paul Vriens 2006-10-29 10:36:57 +01:00 committed by Alexandre Julliard
parent db941dd078
commit 1af1ead894
1 changed files with 2 additions and 2 deletions

View File

@ -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 }; 'A','2','D','8','-','0','8','0','0','2','B','3','0','3','0','9','D','}',0 };
char cCurrDirA [MAX_PATH] = {0}; char cCurrDirA [MAX_PATH] = {0};
WCHAR cCurrDirW [MAX_PATH]; 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}; static const WCHAR cBackSlash[] = {'\\',0};
IShellFolder *IDesktopFolder, *testIShellFolder; IShellFolder *IDesktopFolder, *testIShellFolder;
ITEMIDLIST *newPIDL; ITEMIDLIST *newPIDL;
@ -713,7 +713,7 @@ static void test_GetAttributesOf(void)
IMalloc_Free(ppM, newPIDL); IMalloc_Free(ppM, newPIDL);
/* get relative PIDL */ /* 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); ok(hr == S_OK, "ParseDisplayName failed %08x\n", hr);
/* test the shell attributes of the test directory using the relative PIDL */ /* test the shell attributes of the test directory using the relative PIDL */