mshtml: Sign-compare warnings fix.

This commit is contained in:
Andrew Talbot 2008-10-18 16:08:41 +01:00 committed by Alexandre Julliard
parent 36d01401dc
commit 75d4faabd3
6 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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;

View File

@ -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};

View File

@ -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");

View File

@ -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;

View File

@ -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;