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
14278b42
Commit
14278b42
authored
Apr 07, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Apr 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Avoid comparison of -1 with an unsigned variable.
parent
f7679b45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
registry.c
server/registry.c
+3
-2
No files found.
server/registry.c
View file @
14278b42
...
...
@@ -1233,9 +1233,10 @@ static struct key_value *parse_value_name( struct key *key, const char *buffer,
}
else
{
if
((
*
len
=
parse_strW
(
info
->
tmp
,
&
maxlen
,
buffer
+
1
,
'\"'
))
==
-
1
)
goto
error
;
int
r
=
parse_strW
(
info
->
tmp
,
&
maxlen
,
buffer
+
1
,
'\"'
);
if
(
r
==
-
1
)
goto
error
;
*
len
=
r
+
1
;
/* for initial quote */
name
.
len
=
maxlen
-
sizeof
(
WCHAR
);
(
*
len
)
++
;
/* for initial quote */
}
while
(
isspace
(
buffer
[
*
len
]))
(
*
len
)
++
;
if
(
buffer
[
*
len
]
!=
'='
)
goto
error
;
...
...
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