# HG changeset patch # User Evan Schoenberg # Date 1183562777 0 # Node ID 5bc6c4097a771ee9643c3727bc592def0d28efa2 # Parent 0877d661a6ffe67b36b22d3fe20e527f6d2ab8d0 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. diff -r 0877d661a6ff -r 5bc6c4097a77 libpurple/protocols/msn/directconn.c --- 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); }