Revision
16729
Author
gmaruzz
Date
2010-02-22 20:31:37 -0600 (Mon, 22 Feb 2010)

Log Message

skypiax: shut up windows compiler

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c (16728 => 16729)


--- freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	2010-02-22 23:41:56 UTC (rev 16728)
+++ freeswitch/trunk/src/mod/endpoints/mod_skypiax/skypiax_protocol.c	2010-02-23 02:31:37 UTC (rev 16729)
@@ -54,8 +54,11 @@
 
 	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;