From f9447f92ef9706fd9b6028c09c555b74c62d92f4 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Thu, 19 Sep 2013 15:39:22 +0100 Subject: [PATCH] iphlpapi: Use socklen_t where appropriate. --- dlls/iphlpapi/icmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/iphlpapi/icmp.c b/dlls/iphlpapi/icmp.c index 6d26bb42e5d..7d84811c9a5 100644 --- a/dlls/iphlpapi/icmp.c +++ b/dlls/iphlpapi/icmp.c @@ -223,7 +223,7 @@ DWORD WINAPI IcmpSendEcho( struct pollfd fdr; DWORD send_time,recv_time; struct sockaddr_in addr; - unsigned int addrlen; + socklen_t addrlen; unsigned short id,seq,cksum; int res; @@ -266,7 +266,7 @@ DWORD WINAPI IcmpSendEcho( if (RequestOptions!=NULL) { int val; if (icp->default_opts.OptionsSize==IP_OPTS_UNKNOWN) { - unsigned int len; + socklen_t len; /* Before we mess with the options, get the default values */ len=sizeof(val); getsockopt(icp->sid,IPPROTO_IP,IP_TTL,(char *)&val,&len);