summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/xenon/files/patch-ad2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/xenon/files/patch-ad b/editors/xenon/files/patch-ad
index 8c1fb44..bd5e5c5 100644
--- a/editors/xenon/files/patch-ad
+++ b/editors/xenon/files/patch-ad
@@ -5,7 +5,7 @@
gLocalIPAddr = 0;
- if (getsockname(ConnectionNumber(gDisplay), &saddr, &len) != -1)
-+ if (getsockname(ConnectionNumber(gDisplay), &saddr, (int *)&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);
OpenPOWER on IntegriCloud