Commit 457ce21f authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

wineboot: Cast-qual warning fix.

parent 8b4c7327
...@@ -547,12 +547,12 @@ static int ProcessWindowsFileProtection(void) ...@@ -547,12 +547,12 @@ static int ProcessWindowsFileProtection(void)
{ {
WIN32_FIND_DATA finddata; WIN32_FIND_DATA finddata;
LPSTR custom_dllcache = NULL; LPSTR custom_dllcache = NULL;
static const CHAR default_dllcache[] = "C:\\Windows\\System32\\dllcache"; static CHAR default_dllcache[] = "C:\\Windows\\System32\\dllcache";
HANDLE find_handle; HANDLE find_handle;
BOOL find_rc; BOOL find_rc;
DWORD rc; DWORD rc;
HKEY hkey; HKEY hkey;
LPCSTR dllcache; LPSTR dllcache;
CHAR find_string[MAX_PATH]; CHAR find_string[MAX_PATH];
CHAR windowsdir[MAX_PATH]; CHAR windowsdir[MAX_PATH];
...@@ -603,7 +603,7 @@ static int ProcessWindowsFileProtection(void) ...@@ -603,7 +603,7 @@ static int ProcessWindowsFileProtection(void)
windowsdir, currentpath, &sz, targetpath,&sz2); windowsdir, currentpath, &sz, targetpath,&sz2);
sz = MAX_PATH; sz = MAX_PATH;
rc = VerInstallFile(0, finddata.cFileName, finddata.cFileName, rc = VerInstallFile(0, finddata.cFileName, finddata.cFileName,
(LPSTR) dllcache, targetpath, currentpath, tempfile,&sz); dllcache, targetpath, currentpath, tempfile,&sz);
if (rc != ERROR_SUCCESS) if (rc != ERROR_SUCCESS)
{ {
WINE_ERR("WFP: %s error 0x%x\n",finddata.cFileName,rc); WINE_ERR("WFP: %s error 0x%x\n",finddata.cFileName,rc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment