X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnection.c;h=e4e8fad81c6bf6087b15f20dbcf229fa2324e06c;hp=a35d4f0a8083e0d4850e28da391127a730186fa7;hb=6c7172d694dcb80e538518282b6c4bd51818f1d2;hpb=6f9f6779e6bd1dd7bb795b42dad550863a386ca8 diff --git a/src/connection.c b/src/connection.c index a35d4f0a..e4e8fad8 100644 --- a/src/connection.c +++ b/src/connection.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connection.c,v 1.1.2.34 2002/09/09 22:32:30 guus Exp $ + $Id: connection.c,v 1.1.2.36 2003/06/25 20:55:05 guus Exp $ */ #include "config.h" @@ -32,7 +32,6 @@ #include "net.h" /* Don't ask. */ #include "netutl.h" -#include "config.h" #include "conf.h" #include #include "subnet.h" @@ -45,7 +44,7 @@ connection_t *broadcast; int connection_compare(connection_t *a, connection_t *b) { - return a - b; + return (void *)a - (void *)b; } void init_connections(void)