accept() wants a pointer to a socklen_t, not an unsigned int. This has no programattic effect, since we don't actually use the return value, but it silences a warning on my system.

Wed, 04 Jul 2007 15:26:17 +0000

author
Evan Schoenberg <evands@pidgin.im>
date
Wed, 04 Jul 2007 15:26:17 +0000
changeset 18610
e78de6902bd3
parent 18609
3512a0bda029
child 18612
60211d851083

accept() wants a pointer to a socklen_t, not an unsigned int. This has no programattic effect, since we don't actually use the return value, but it silences a warning on my system.

libpurple/protocols/msn/directconn.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/msn/directconn.c	Wed Jul 04 15:22:19 2007 +0000
+++ b/libpurple/protocols/msn/directconn.c	Wed Jul 04 15:26:17 2007 +0000
@@ -370,7 +370,7 @@
 	else
 	{
 		struct sockaddr_in client_addr;
-		unsigned int client;
+		socklen_t client;
 		fd = accept (source, (struct sockaddr *)&client_addr, &client);
 	}
 

mercurial