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
065d5379
Commit
065d5379
authored
Sep 17, 2002
by
Marcus Meissner
Committed by
Alexandre Julliard
Sep 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed "conditional expr is always true due to being unsigned < 0"
problem.
parent
a58134ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
file.c
files/file.c
+5
-3
No files found.
files/file.c
View file @
065d5379
...
...
@@ -124,7 +124,7 @@ typedef struct async_fileio
LPOVERLAPPED
lpOverlapped
;
LPOVERLAPPED_COMPLETION_ROUTINE
completion_func
;
char
*
buffer
;
int
count
;
unsigned
int
count
;
enum
fd_type
fd_type
;
}
async_fileio
;
...
...
@@ -141,8 +141,10 @@ static void fileio_set_async_status (async_private *ovp, const DWORD status)
static
DWORD
fileio_get_async_count
(
const
struct
async_private
*
ovp
)
{
async_fileio
*
fileio
=
(
async_fileio
*
)
ovp
;
DWORD
ret
=
fileio
->
count
-
fileio
->
lpOverlapped
->
InternalHigh
;
return
(
ret
<
0
?
0
:
ret
);
if
(
fileio
->
count
<
fileio
->
lpOverlapped
->
InternalHigh
)
return
0
;
return
fileio
->
count
-
fileio
->
lpOverlapped
->
InternalHigh
;
}
static
void
CALLBACK
fileio_call_completion_func
(
ULONG_PTR
data
)
...
...
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