From 96d9febc3af6880fd3dcfb5f0a8f3ce82fe06da0 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 14 May 2008 16:54:54 +0000 Subject: [PATCH] type stupidity git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8398 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_iax/iax.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_iax/iax.c b/src/mod/endpoints/mod_iax/iax.c index c616854fa2..112f13950f 100644 --- a/src/mod/endpoints/mod_iax/iax.c +++ b/src/mod/endpoints/mod_iax/iax.c @@ -2984,7 +2984,12 @@ void iax_destroy(struct iax_session *session) 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);