type stupidity

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8398 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-05-14 16:54:54 +00:00
parent d8aa592dee
commit 96d9febc3a
1 changed files with 6 additions and 1 deletions

View File

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