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
ac79a3f9
Commit
ac79a3f9
authored
Feb 11, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Avoid signed-unsigned integer comparisons.
parent
d24dc4b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
debugger.c
dlls/kernel32/debugger.c
+2
-1
volume.c
dlls/kernel32/volume.c
+2
-2
No files found.
dlls/kernel32/debugger.c
View file @
ac79a3f9
...
...
@@ -51,7 +51,8 @@ BOOL WINAPI WaitForDebugEvent(
DWORD
timeout
)
{
BOOL
ret
;
DWORD
i
,
res
;
DWORD
res
;
int
i
;
for
(;;)
{
...
...
dlls/kernel32/volume.c
View file @
ac79a3f9
...
...
@@ -445,7 +445,7 @@ static enum fs_type VOLUME_ReadCDSuperblock( HANDLE handle, BYTE *buff )
*/
static
BOOL
UDF_Find_PVD
(
HANDLE
handle
,
BYTE
pvd
[]
)
{
int
i
;
unsigned
int
i
;
DWORD
offset
;
INT
locations
[]
=
{
256
,
-
1
,
-
257
,
512
};
...
...
@@ -548,7 +548,7 @@ static void VOLUME_GetSuperblockLabel( const UNICODE_STRING *device, HANDLE hand
}
else
{
int
i
;
unsigned
int
i
;
label_len
=
1
+
pvd
[
24
+
32
-
1
];
for
(
i
=
0
;
i
<
label_len
&&
i
<
len
;
i
+=
2
)
...
...
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