kernel32: Sign-compare warnings fix.
This commit is contained in:
parent
88c12282e3
commit
5ae5a68ed3
|
@ -181,8 +181,7 @@ HFILE WINAPI LZInit( HFILE hfSrc )
|
|||
|
||||
struct lzfileheader head;
|
||||
struct lzstate *lzs;
|
||||
DWORD ret;
|
||||
int i;
|
||||
int i, ret;
|
||||
|
||||
TRACE("(%d)\n",hfSrc);
|
||||
ret=read_header(hfSrc,&head);
|
||||
|
|
|
@ -115,7 +115,7 @@ static void PROFILE_CopyEntry( LPWSTR buffer, LPCWSTR value, int 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 */
|
||||
|
|
|
@ -272,7 +272,7 @@ done:
|
|||
*/
|
||||
void WINAPI __regs_VxDCall( DWORD service, CONTEXT86 *context )
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
VxDCallProc proc = NULL;
|
||||
|
||||
RtlEnterCriticalSection( &vxd_section );
|
||||
|
|
Loading…
Reference in New Issue