comctl32:propsheet.c: Cast-qual warnings fix

Andrew Talbot Andrew.Talbot at talbotville.com
Tue Aug 29 17:12:16 CDT 2006


Changelog:
    comctl32:propsheet.c: Cast-qual warnings fix.

diff -urN a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c
--- a/dlls/comctl32/propsheet.c	2006-08-02 17:16:45.000000000 +0100
+++ b/dlls/comctl32/propsheet.c	2006-08-29 22:55:58.000000000 +0100
@@ -448,7 +448,7 @@
   else
   {
     HRSRC hResource = FindResourceA(lppsp->hInstance,
-                                    (LPSTR)lppsp->u.pszTemplate,
+                                    (LPCSTR)lppsp->u.pszTemplate,
                                     (LPSTR)RT_DIALOG);
     HGLOBAL hTemplate = LoadResource(lppsp->hInstance,
                                      hResource);
@@ -1424,7 +1424,7 @@
     HANDLE hTemplate;
 
     hResource = FindResourceA(ppshpage->hInstance,
-                                    (LPSTR)ppshpage->u.pszTemplate,
+                                    (LPCSTR)ppshpage->u.pszTemplate,
                                     (LPSTR)RT_DIALOG);
     if(!hResource)
 	return FALSE;



More information about the wine-patches mailing list