aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xenon/files/patch-ad
blob: bd5e5c5cf9f7cbec72c66b1dfbfadd845ce317c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- XeApp.C.orig    Fri Oct 22 00:20:19 1999
+++ XeApp.C Fri Oct 22 18:42:42 1999
@@ -165,7 +165,7 @@
 #endif
     gLocalIPAddr = 0;
     
-    if (getsockname(ConnectionNumber(gDisplay), &saddr, &len) != -1)
+    if (getsockname(ConnectionNumber(gDisplay), &saddr, (socklen_t *)&len) != -1)
        if (saddr.sa_family == AF_INET)
            gLocalIPAddr = ntohl(((sockaddr_in*)&saddr)->sin_addr.s_addr);