summaryrefslogtreecommitdiff
path: root/editors/xenon/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xenon/files/patch-ad')
-rw-r--r--editors/xenon/files/patch-ad11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/xenon/files/patch-ad b/editors/xenon/files/patch-ad
new file mode 100644
index 000000000000..8c1fb4400185
--- /dev/null
+++ b/editors/xenon/files/patch-ad
@@ -0,0 +1,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, (int *)&len) != -1)
+ if (saddr.sa_family == AF_INET)
+ gLocalIPAddr = ntohl(((sockaddr_in*)&saddr)->sin_addr.s_addr);
+