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
8a8a753c
Commit
8a8a753c
authored
Aug 18, 2016
by
Hugh McMaster
Committed by
Alexandre Julliard
Aug 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg: Fix dword conversion on 64-bit operating systems.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
60f8b516
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
reg.c
programs/reg/reg.c
+2
-2
No files found.
programs/reg/reg.c
View file @
8a8a753c
...
...
@@ -249,9 +249,9 @@ static LPBYTE get_regdata(const WCHAR *data, DWORD reg_type, WCHAR separator, DW
case
REG_DWORD_BIG_ENDIAN
:
/* Yes, this is correct! */
{
LPWSTR
rest
;
DWORD
val
;
unsigned
long
val
;
val
=
strtoulW
(
data
,
&
rest
,
(
tolowerW
(
data
[
1
])
==
'x'
)
?
16
:
10
);
if
(
*
rest
||
data
[
0
]
==
'-'
||
(
val
==
~
0u
&&
errno
==
ERANGE
))
{
if
(
*
rest
||
data
[
0
]
==
'-'
||
(
val
==
~
0u
&&
errno
==
ERANGE
)
||
val
>
~
0u
)
{
output_message
(
STRING_MISSING_INTEGER
);
break
;
}
...
...
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