kernel32: Avoid signed-unsigned integer comparisons.

This commit is contained in:
Andrew Talbot 2013-02-11 22:44:12 +00:00 committed by Alexandre Julliard
parent d24dc4b884
commit ac79a3f9d3
2 changed files with 4 additions and 3 deletions

View File

@ -51,7 +51,8 @@ BOOL WINAPI WaitForDebugEvent(
DWORD timeout)
{
BOOL ret;
DWORD i, res;
DWORD res;
int i;
for (;;)
{

View File

@ -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)