aboutsummaryrefslogtreecommitdiffstats
path: root/slirp/tcp_timer.c
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit55f4e4a5ec657a017e3bf75299ad71fd1c968dd3 (patch)
tree550ce922ea0e125ac6a9738210ce2939bf2fe901 /slirp/tcp_timer.c
parent413f05aaf54fa08c0ae7e997327a4f4a473c0a8d (diff)
downloadexternal_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.zip
external_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.tar.gz
external_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.tar.bz2
Initial Contribution
Diffstat (limited to 'slirp/tcp_timer.c')
-rw-r--r--slirp/tcp_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/tcp_timer.c b/slirp/tcp_timer.c
index d3146db..ad03098 100644
--- a/slirp/tcp_timer.c
+++ b/slirp/tcp_timer.c
@@ -305,10 +305,10 @@ tcp_timers(tp, timer)
* The keepalive packet must have nonzero length
* to get a 4.2 host to respond.
*/
- tcp_respond(tp, &tp->t_template, (struct mbuf *)NULL,
+ tcp_respond(tp, &tp->t_template, (MBuf )NULL,
tp->rcv_nxt - 1, tp->snd_una - 1, 0);
#else
- tcp_respond(tp, &tp->t_template, (struct mbuf *)NULL,
+ tcp_respond(tp, &tp->t_template, (MBuf )NULL,
tp->rcv_nxt, tp->snd_una - 1, 0);
#endif
tp->t_timer[TCPT_KEEP] = tcp_keepintvl;