kernel32: Sign-compare warnings fix.

This commit is contained in:
Andrew Talbot 2008-10-14 22:30:39 +01:00 committed by Alexandre Julliard
parent 88c12282e3
commit 5ae5a68ed3
3 changed files with 3 additions and 4 deletions

View File

@ -181,8 +181,7 @@ HFILE WINAPI LZInit( HFILE hfSrc )
struct lzfileheader head; struct lzfileheader head;
struct lzstate *lzs; struct lzstate *lzs;
DWORD ret; int i, ret;
int i;
TRACE("(%d)\n",hfSrc); TRACE("(%d)\n",hfSrc);
ret=read_header(hfSrc,&head); ret=read_header(hfSrc,&head);

View File

@ -115,7 +115,7 @@ static void PROFILE_CopyEntry( LPWSTR buffer, LPCWSTR value, int len,
} }
lstrcpynW( buffer, value, len ); lstrcpynW( buffer, value, len );
if (quote && (len >= strlenW(value))) buffer[strlenW(buffer)-1] = '\0'; if (quote && (len >= lstrlenW(value))) buffer[strlenW(buffer)-1] = '\0';
} }
/* byte-swaps shorts in-place in a buffer. len is in WCHARs */ /* byte-swaps shorts in-place in a buffer. len is in WCHARs */

View File

@ -272,7 +272,7 @@ done:
*/ */
void WINAPI __regs_VxDCall( DWORD service, CONTEXT86 *context ) void WINAPI __regs_VxDCall( DWORD service, CONTEXT86 *context )
{ {
int i; unsigned int i;
VxDCallProc proc = NULL; VxDCallProc proc = NULL;
RtlEnterCriticalSection( &vxd_section ); RtlEnterCriticalSection( &vxd_section );