[Freeswitch-svn] [commit] r8398 - freeswitch/trunk/src/mod/endpoints/mod_iax

Freeswitch SVN mikej at freeswitch.org
Wed May 14 12:54:55 EDT 2008


Author: mikej
Date: Wed May 14 12:54:54 2008
New Revision: 8398

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_iax/iax.c

Log:
type stupidity

Modified: freeswitch/trunk/src/mod/endpoints/mod_iax/iax.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_iax/iax.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_iax/iax.c	Wed May 14 12:54:54 2008
@@ -2984,7 +2984,12 @@
 static struct iax_event *iax_net_read(void)
 {
 	unsigned char buf[65536];
-	int res, sinlen;
+	int res;
+#ifdef WIN32
+	socklen_t sinlen;
+#else
+	unsigned int sinlen;
+#endif
 	struct sockaddr_in sin;
 
 	sinlen = sizeof(sin);



More information about the Freeswitch-svn mailing list