summaryrefslogtreecommitdiff
path: root/editors/xenon/files
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>1999-12-31 23:08:21 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>1999-12-31 23:08:21 +0000
commitba4b4f1c28188c02bbe6e018ea3caf335e5fdef5 (patch)
treedfbda8a5d005c61223e8523ce59aa76f358efd44 /editors/xenon/files
parentCorrect MD5 checksum (diff)
Fix invalid cast
Found by: bento
Notes
Notes: svn path=/head/; revision=24327
Diffstat (limited to 'editors/xenon/files')
-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 8c1fb4400185..bd5e5c5cf9f7 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);