summaryrefslogtreecommitdiff
blob: 6a9d420400a73e897de867e4ab40d454292dc1d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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");