Commit ac79a3f9 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

kernel32: Avoid signed-unsigned integer comparisons.

parent d24dc4b8
...@@ -51,7 +51,8 @@ BOOL WINAPI WaitForDebugEvent( ...@@ -51,7 +51,8 @@ BOOL WINAPI WaitForDebugEvent(
DWORD timeout) DWORD timeout)
{ {
BOOL ret; BOOL ret;
DWORD i, res; DWORD res;
int i;
for (;;) for (;;)
{ {
......
...@@ -445,7 +445,7 @@ static enum fs_type VOLUME_ReadCDSuperblock( HANDLE handle, BYTE *buff ) ...@@ -445,7 +445,7 @@ static enum fs_type VOLUME_ReadCDSuperblock( HANDLE handle, BYTE *buff )
*/ */
static BOOL UDF_Find_PVD( HANDLE handle, BYTE pvd[] ) static BOOL UDF_Find_PVD( HANDLE handle, BYTE pvd[] )
{ {
int i; unsigned int i;
DWORD offset; DWORD offset;
INT locations[] = { 256, -1, -257, 512 }; INT locations[] = { 256, -1, -257, 512 };
...@@ -548,7 +548,7 @@ static void VOLUME_GetSuperblockLabel( const UNICODE_STRING *device, HANDLE hand ...@@ -548,7 +548,7 @@ static void VOLUME_GetSuperblockLabel( const UNICODE_STRING *device, HANDLE hand
} }
else else
{ {
int i; unsigned int i;
label_len = 1 + pvd[24+32-1]; label_len = 1 + pvd[24+32-1];
for(i=0; i<label_len && i<len; i+=2) for(i=0; i<label_len && i<len; i+=2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment