summaryrefslogtreecommitdiffstats
path: root/freebsd/usr.bin/netstat/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/usr.bin/netstat/unix.c')
-rw-r--r--freebsd/usr.bin/netstat/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/usr.bin/netstat/unix.c b/freebsd/usr.bin/netstat/unix.c
index bca42672..690caa75 100644
--- a/freebsd/usr.bin/netstat/unix.c
+++ b/freebsd/usr.bin/netstat/unix.c
@@ -166,7 +166,7 @@ pcblist_kvm(u_long count_off, u_long gencnt_off, u_long head_off, char **bufp)
xu.xu_len = sizeof xu;
KREAD(head_off, &head, sizeof(head));
LIST_FOREACH(unp, &head, unp_link) {
- xu.xu_unpp = unp;
+ xu.xu_unpp = (uintptr_t)unp;
KREAD(unp, &unp0, sizeof (*unp));
unp = &unp0;