Huw Davies : iphlpapi: Use socklen_t where appropriate.

Alexandre Julliard julliard at winehq.org
Thu Sep 19 17:21:06 CDT 2013


Module: wine
Branch: master
Commit: f9447f92ef9706fd9b6028c09c555b74c62d92f4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f9447f92ef9706fd9b6028c09c555b74c62d92f4

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Sep 19 15:39:22 2013 +0100

iphlpapi: Use socklen_t where appropriate.

---

 dlls/iphlpapi/icmp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/iphlpapi/icmp.c b/dlls/iphlpapi/icmp.c
index 6d26bb4..7d84811 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);




More information about the wine-cvs mailing list