changeset 18431:5bc6c4097a77

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.
author Evan Schoenberg <evan.s@dreskin.net>
date Wed, 04 Jul 2007 15:26:17 +0000
parents 0877d661a6ff
children 3e4ee49396ad
files libpurple/protocols/msn/directconn.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 	}