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 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);
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue