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
90b1d7ab
Commit
90b1d7ab
authored
Oct 17, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Cast-qual warnings fix.
parent
a5e6c89d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
registrar.c
dlls/atl/registrar.c
+4
-2
No files found.
dlls/atl/registrar.c
View file @
90b1d7ab
...
@@ -286,13 +286,15 @@ static HRESULT do_process_key(LPCOLESTR *pstr, HKEY parent_key, strbuf *buf, BOO
...
@@ -286,13 +286,15 @@ static HRESULT do_process_key(LPCOLESTR *pstr, HKEY parent_key, strbuf *buf, BOO
}
}
break
;
break
;
case
'd'
:
{
case
'd'
:
{
WCHAR
*
end
;
DWORD
dw
;
DWORD
dw
;
if
(
*
iter
==
'0'
&&
iter
[
1
]
==
'x'
)
{
if
(
*
iter
==
'0'
&&
iter
[
1
]
==
'x'
)
{
iter
+=
2
;
iter
+=
2
;
dw
=
strtolW
(
iter
,
(
WCHAR
**
)
&
iter
,
16
);
dw
=
strtolW
(
iter
,
&
end
,
16
);
}
else
{
}
else
{
dw
=
strtolW
(
iter
,
(
WCHAR
**
)
&
iter
,
10
);
dw
=
strtolW
(
iter
,
&
end
,
10
);
}
}
iter
=
end
;
lres
=
RegSetValueExW
(
hkey
,
name
.
len
?
name
.
str
:
NULL
,
0
,
REG_DWORD
,
lres
=
RegSetValueExW
(
hkey
,
name
.
len
?
name
.
str
:
NULL
,
0
,
REG_DWORD
,
(
PBYTE
)
&
dw
,
sizeof
(
dw
));
(
PBYTE
)
&
dw
,
sizeof
(
dw
));
if
(
lres
!=
ERROR_SUCCESS
)
{
if
(
lres
!=
ERROR_SUCCESS
)
{
...
...
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