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
62f270e2
Commit
62f270e2
authored
Feb 23, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: fgetc() gets int, not char (Coverity).
parent
d0bff37c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
regproc.c
programs/regedit/regproc.c
+5
-2
No files found.
programs/regedit/regproc.c
View file @
62f270e2
...
...
@@ -664,8 +664,11 @@ static void processRegLinesA(FILE *in, char* first_chars)
/* get a single line. note that `i' must be one past the last
* meaningful character in `s' when this loop exits */
for
(
i
=
0
;
i
<
size_to_get
-
1
;
++
i
){
s
[
i
]
=
fgetc
(
in
);
if
(
s
[
i
]
==
EOF
){
int
xchar
;
xchar
=
fgetc
(
in
);
s
[
i
]
=
xchar
;
if
(
xchar
==
EOF
){
if
(
ferror
(
in
)){
perror
(
"While reading input"
);
exit
(
IO_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