From 429d0a3db8138ae6a545500b92dbe532629a24e1 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Tue, 13 Jan 2009 19:48:42 +0000 Subject: Fix 64 bit issue in slirp Signed-off-by: Gleb Natapov git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6288 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/slirp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slirp/slirp.c') diff --git a/slirp/slirp.c b/slirp/slirp.c index b4a04c4..0394496 100644 --- a/slirp/slirp.c +++ b/slirp/slirp.c @@ -262,7 +262,7 @@ void slirp_select_fill(int *pnfds, * in the fragment queue, or there are TCP connections active */ do_slowtimo = ((tcb.so_next != &tcb) || - ((struct ipasfrag *)&ipq != (struct ipasfrag *)ipq.next)); + (&ipq.ip_link != ipq.ip_link.next)); for (so = tcb.so_next; so != &tcb; so = so_next) { so_next = so->so_next; -- cgit v1.1