shell32: Cast-qual warnings fix (2 of 2)

Andrew Talbot Andrew.Talbot at talbotville.com
Tue Nov 14 16:13:17 CST 2006


Changelog:
    shell32: Cast-qual warning fix.

diff -urN a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
--- a/dlls/shell32/shellpath.c	2006-10-09 12:06:01.000000000 +0100
+++ b/dlls/shell32/shellpath.c	2006-11-14 21:12:30.000000000 +0000
@@ -550,7 +550,7 @@
 /*************************************************************************
  * PathFindOnPath	[SHELL32.145]
  */
-BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID sOtherDirs)
+BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID *sOtherDirs)
 {
 	if (SHELL_OsIsUnicode())
 	  return PathFindOnPathW(sFile, (LPCWSTR *)sOtherDirs);
diff -urN a/dlls/shell32/undocshell.h b/dlls/shell32/undocshell.h
--- a/dlls/shell32/undocshell.h	2006-05-23 13:48:39.000000000 +0100
+++ b/dlls/shell32/undocshell.h	2006-11-14 21:30:36.000000000 +0000
@@ -455,7 +455,7 @@
 
 BOOL WINAPI PathIsSameRootAW(LPCVOID lpszPath1, LPCVOID lpszPath2);
 
-BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID sOtherDirs);
+BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID *sOtherDirs);
 
 /****************************************************************************
  * Shell Namespace Routines



More information about the wine-patches mailing list