Compiler warnings fixes.
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index 9e6c440..cb69187 100644
--- a/zebra/rt_netlink.c
+++ b/zebra/rt_netlink.c
@@ -179,7 +179,7 @@
/* multiple netlink sockets will have different nl_pid */
namelen = sizeof snl;
- ret = getsockname (sock, (struct sockaddr *) &snl, &namelen);
+ ret = getsockname (sock, (struct sockaddr *) &snl, (socklen_t *) &namelen);
if (ret < 0 || namelen != sizeof snl)
{
zlog (NULL, LOG_ERR, "Can't get %s socket name: %s", nl->name,