Commit 75d4faab authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mshtml: Sign-compare warnings fix.

parent 36d01401
......@@ -213,7 +213,7 @@ void ConnectionPoint_Init(ConnectionPoint *cp, ConnectionPointContainer *contain
static void ConnectionPoint_Destroy(ConnectionPoint *This)
{
int i;
DWORD i;
for(i=0; i<This->sinks_size; i++) {
if(This->sinks[i].unk)
......
......@@ -763,7 +763,7 @@ static HRESULT WINAPI HTMLDocument_write(IHTMLDocument2 *iface, SAFEARRAY *psarr
HTMLDocument *This = HTMLDOC_THIS(iface);
nsAString nsstr;
VARIANT *var;
int i;
ULONG i;
nsresult nsres;
HRESULT hres;
......
......@@ -318,7 +318,7 @@ static HRESULT register_server(BOOL do_register)
STRTABLEA strtable;
STRENTRYA pse[35];
static CLSID const *clsids[35];
int i = 0;
unsigned int i = 0;
static const WCHAR wszAdvpack[] = {'a','d','v','p','a','c','k','.','d','l','l',0};
......
......@@ -497,7 +497,7 @@ BOOL load_gecko(BOOL silent)
PRUnichar gre_path[MAX_PATH];
BOOL ret = FALSE;
static LONG loading_thread;
static DWORD loading_thread;
TRACE("()\n");
......
......@@ -1583,7 +1583,7 @@ static nsresult NSAPI nsURI_SchemeIs(nsIWineURI *iface, const char *scheme, PRBo
WCHAR buf[INTERNET_MAX_SCHEME_LENGTH];
int len = MultiByteToWideChar(CP_ACP, 0, scheme, -1, buf, sizeof(buf)/sizeof(WCHAR))-1;
*_retval = strlenW(This->wine_url) > len
*_retval = lstrlenW(This->wine_url) > len
&& This->wine_url[len] == ':'
&& !memcmp(buf, This->wine_url, len*sizeof(WCHAR));
return NS_OK;
......
......@@ -424,7 +424,7 @@ static HRESULT WINAPI AboutProtocolInfo_ParseUrl(IInternetProtocolInfo *iface, L
dwParseFlags, pwzResult, cchResult, pcchResult, dwReserved);
if(ParseAction == PARSE_SECURITY_URL) {
int len = lstrlenW(pwzUrl);
unsigned int len = strlenW(pwzUrl);
if(len >= cchResult)
return S_FALSE;
......
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