summaryrefslogtreecommitdiff
path: root/socket/tcp-bsd.c
diff options
context:
space:
mode:
authorNader Morshed <morshed.nader@gmail.com>2011-11-30 15:36:51 -0500
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2011-11-30 15:36:51 -0500
commit1fe527bef1f52b96cbbd755db8bbcab93bed49f8 (patch)
treee6a14a4d48b0c4056e54ae9e9a8c921cc7ef882c /socket/tcp-bsd.c
parent1b44dca9978bfded1c34e8c33d5bd242c070d80e (diff)
downloadlibnice-1fe527bef1f52b96cbbd755db8bbcab93bed49f8.tar.gz
Add support for windows's compilation through MinGW
Diffstat (limited to 'socket/tcp-bsd.c')
-rw-r--r--socket/tcp-bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/tcp-bsd.c b/socket/tcp-bsd.c
index c8a5c48..255a234 100644
--- a/socket/tcp-bsd.c
+++ b/socket/tcp-bsd.c
@@ -91,7 +91,7 @@ nice_tcp_bsd_socket_new (NiceAgent *agent, GMainContext *ctx, NiceAddress *addr)
int sockfd = -1;
int ret;
struct sockaddr_storage name;
- guint name_len = sizeof (name);
+ socklen_t name_len = sizeof (name);
NiceSocket *sock;
TcpPriv *priv;