Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
457ce21f
Commit
457ce21f
authored
Oct 06, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineboot: Cast-qual warning fix.
parent
8b4c7327
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wineboot.c
programs/wineboot/wineboot.c
+3
-3
No files found.
programs/wineboot/wineboot.c
View file @
457ce21f
...
@@ -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
;
LP
C
STR
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment