Fix some SLIRP warnings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6272 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2009-01-12 17:51:06 +00:00
parent 7fa9ae1aaa
commit 0580ac9160
3 changed files with 6 additions and 5 deletions

View file

@ -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;