dnsapi: Sign-compare warnings fix.

This commit is contained in:
Andrew Talbot 2008-07-31 22:26:26 +01:00 committed by Alexandre Julliard
parent 61aac4a0fd
commit 5ca83ae502

View File

@ -561,7 +561,7 @@ exit:
*/
static DNS_STATUS dns_set_serverlist( const IP4_ARRAY *addrs )
{
unsigned int i;
int i;
if (addrs->AddrCount > MAXNS)
{
@ -579,7 +579,8 @@ static DNS_STATUS dns_set_serverlist( const IP4_ARRAY *addrs )
static DNS_STATUS dns_get_serverlist( PIP4_ARRAY addrs, PDWORD len )
{
unsigned int i, size;
unsigned int size;
int i;
size = sizeof(IP4_ARRAY) + sizeof(IP4_ADDRESS) * (_res.nscount - 1);
if (!addrs || *len < size)