skypiax: shut up windows compiler

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16729 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Giovanni Maruzzelli 2010-02-23 02:31:37 +00:00
parent 3b92634403
commit 3cc72e256a
1 changed files with 5 additions and 2 deletions

View File

@ -54,8 +54,11 @@ int skypiax_socket_create_and_bind(private_t * tech_pvt, unsigned short *which_p
if (*which_port != 0)
start_port = *which_port;
start_port=next_port();
#ifdef WIN32
start_port=(unsigned short)next_port();
#else
start_port=(unsigned short)next_port();
#endif
my_addr.sin_port = htons(start_port);
//fcntl(s, F_SETFL, O_NONBLOCK);
//tech_pvt->tcp_cli_port = start_port;