strlen: use size_t to receive the return

This commit is contained in:
Daniel Stenberg
2011-06-04 20:14:38 +02:00
parent 45ec020795
commit 3cb1afe054
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -673,7 +673,7 @@ static int get_iphlpapi_dns_info (char *ret_buf, size_t ret_size)
for( ; pDNSAddr != NULL ; pDNSAddr = pDNSAddr->Next )
{
struct sockaddr *pGenericAddr = pDNSAddr->Address.lpSockaddr;
int stringlen = 0;
size_t stringlen = 0;
if( pGenericAddr->sa_family == AF_INET && left > ipv4_size )
{