Commit 5ae5a68e authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

kernel32: Sign-compare warnings fix.

parent 88c12282
......@@ -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 );
......
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