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
4cf489f9
Commit
4cf489f9
authored
Aug 20, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix the return type of read_input(); it is never negative.
parent
73aef403
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
debug.l
programs/winedbg/debug.l
+2
-3
No files found.
programs/winedbg/debug.l
View file @
4cf489f9
...
...
@@ -61,7 +61,7 @@ void lexeme_flush(void)
next_lexeme = 0;
}
static
in
t read_input(const char* pfx, char* buf, int size)
static
size_
t read_input(const char* pfx, char* buf, int size)
{
int len;
static char* last_line = NULL;
...
...
@@ -107,8 +107,7 @@ static int read_input(const char* pfx, char* buf, int size)
}
#define YY_INPUT(buf,result,max_size) \
if ((result = read_input("Wine-dbg>", buf, max_size)) < 0) \
YY_FATAL_ERROR("read_input in flex scanner failed");
(result = read_input("Wine-dbg>", buf, max_size))
static int syntax_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