type stupidity
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8398 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d8aa592dee
commit
96d9febc3a
|
@ -2984,7 +2984,12 @@ void iax_destroy(struct iax_session *session)
|
||||||
static struct iax_event *iax_net_read(void)
|
static struct iax_event *iax_net_read(void)
|
||||||
{
|
{
|
||||||
unsigned char buf[65536];
|
unsigned char buf[65536];
|
||||||
int res, sinlen;
|
int res;
|
||||||
|
#ifdef WIN32
|
||||||
|
socklen_t sinlen;
|
||||||
|
#else
|
||||||
|
unsigned int sinlen;
|
||||||
|
#endif
|
||||||
struct sockaddr_in sin;
|
struct sockaddr_in sin;
|
||||||
|
|
||||||
sinlen = sizeof(sin);
|
sinlen = sizeof(sin);
|
||||||
|
|
Loading…
Reference in New Issue