--- netlink.c.orig 2005-09-02 11:06:57.045223697 +0100 +++ netlink.c 2005-09-02 11:11:30.637151062 +0100 @@ -284,7 +284,7 @@ exit(1); } - int addr_len = sizeof(addr); + socklen_t addr_len = sizeof(addr); if (getsockname(fd, (struct sockaddr *) &addr, &addr_len) == -1) { do_log(LOG_ERR, "Could not get socket details: %m");