aboutsummaryrefslogtreecommitdiff
path: root/slirp/tcp_subr.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-12 17:51:06 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-12 17:51:06 +0000
commit0580ac9160eec864579c03932869f72148296779 (patch)
tree67640315578e8f4fd2ab3ffce59367f9f30dd021 /slirp/tcp_subr.c
parent7fa9ae1aaab87bd197a34623a1c264dca51d6217 (diff)
Fix some SLIRP warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6272 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/tcp_subr.c')
-rw-r--r--slirp/tcp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
index 12abebeb96..00f61c1614 100644
--- a/slirp/tcp_subr.c
+++ b/slirp/tcp_subr.c
@@ -1283,7 +1283,7 @@ tcp_ctl(so)
command == ex_ptr->ex_addr) {
if (ex_ptr->ex_pty == 3) {
so->s = -1;
- so->extra = ex_ptr->ex_exec;
+ so->extra = (void *)ex_ptr->ex_exec;
return 1;
}
do_pty = ex_ptr->ex_pty;