shlwapi: Cast-qual warnings fix (2 of 4)

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Nov 15 16:02:48 CST 2006


Changelog:
    shlwapi: Cast-qual warnings fix.

diff -urN a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
--- a/dlls/shlwapi/ordinal.c	2006-11-09 17:45:26.000000000 +0000
+++ b/dlls/shlwapi/ordinal.c	2006-11-15 19:51:50.000000000 +0000
@@ -370,7 +370,7 @@
  */
 HRESULT WINAPI RegisterDefaultAcceptHeaders(LPBC lpBC, IUnknown *lpUnknown)
 {
-  static const WCHAR szProperty[] = { '{','D','0','F','C','A','4','2','0',
+  static WCHAR szProperty[] = { '{','D','0','F','C','A','4','2','0',
       '-','D','3','F','5','-','1','1','C','F', '-','B','2','1','1','-','0',
       '0','A','A','0','0','4','A','E','8','3','7','}','\0' };
   IEnumFORMATETC* pIEnumFormatEtc = NULL;
@@ -4283,7 +4283,7 @@
  */
 BOOL WINAPI SHSkipJunction(IBindCtx *pbc, const CLSID *pclsid)
 {
-  static const WCHAR szSkipBinding[] = { 'S','k','i','p',' ',
+  static WCHAR szSkipBinding[] = { 'S','k','i','p',' ',
     'B','i','n','d','i','n','g',' ','C','L','S','I','D','\0' };
   BOOL bRet = FALSE;
 



More information about the wine-patches mailing list